diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-11-25 18:25:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:08 -0500 |
commit | 1814aad5617c5fcafb75cc4566618e98f5323554 (patch) | |
tree | 58b251fdfbb2cf274d97b941d5578ecf32321f06 /source4/ldap_server/ldap_rootdse.c | |
parent | 4dc2599dad6a839c7aa8301c45b0583a2b14a3db (diff) | |
download | samba-1814aad5617c5fcafb75cc4566618e98f5323554.tar.gz samba-1814aad5617c5fcafb75cc4566618e98f5323554.tar.bz2 samba-1814aad5617c5fcafb75cc4566618e98f5323554.zip |
r3962: fix compiler warnings
metze
(This used to be commit 3bfb732187211d450db842a7533e4c7e915b6ce4)
Diffstat (limited to 'source4/ldap_server/ldap_rootdse.c')
-rw-r--r-- | source4/ldap_server/ldap_rootdse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_rootdse.c b/source4/ldap_server/ldap_rootdse.c index 5780809c78..2e7c8bb71c 100644 --- a/source4/ldap_server/ldap_rootdse.c +++ b/source4/ldap_server/ldap_rootdse.c @@ -134,7 +134,7 @@ static NTSTATUS fill_dynamic_values(void *mem_ctx, struct ldap_attribute *attrs) DATA_BLOB *currentTime = talloc_array_p(mem_ctx, DATA_BLOB, num_currentTime); char *str = ldap_timestring(mem_ctx, time(NULL)); ALLOC_CHECK(str); - currentTime[0].data = str; + currentTime[0].data = (void *)str; currentTime[0].length = strlen(str); ATTR_SINGLE_NOVAL(mem_ctx, attrs, currentTime, num_currentTime, "currentTime"); return NT_STATUS_OK; |