summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-29 12:01:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:13 -0500
commit15543f18acc9040fd3213e826147fe5604bb1ae1 (patch)
treecf01bc8014db4d7c6419597b03da587e5b880114 /source4/ldap_server
parent114b43a167e8470666125ff0b2ac08c4b5c4f14d (diff)
downloadsamba-15543f18acc9040fd3213e826147fe5604bb1ae1.tar.gz
samba-15543f18acc9040fd3213e826147fe5604bb1ae1.tar.bz2
samba-15543f18acc9040fd3213e826147fe5604bb1ae1.zip
r4000: DATA_BLOB.data is uint8_t * not void * :-)
(thanks abartlet for telling me) metze (This used to be commit 2783bf393f6310f9d827538329d619dad5b02dd0)
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_rootdse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_rootdse.c b/source4/ldap_server/ldap_rootdse.c
index 2e7c8bb71c..fecb82ec4a 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 = (void *)str;
+ currentTime[0].data = (uint8_t *)str;
currentTime[0].length = strlen(str);
ATTR_SINGLE_NOVAL(mem_ctx, attrs, currentTime, num_currentTime, "currentTime");
return NT_STATUS_OK;