diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-07-31 04:30:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:26 -0500 |
commit | 1cf1e648feed823244731eef5f56bd34e15cb045 (patch) | |
tree | 63f7d989ccf7c05004f3fe7793f3c77d2053c20b /source3/lib/ldap_escape.c | |
parent | 02eea79624c85fb5ce6c3ffefe2d27e40c5ff97f (diff) | |
download | samba-1cf1e648feed823244731eef5f56bd34e15cb045.tar.gz |
r17334: Some C++ warnings
(This used to be commit 8ae7ed1f3cecbb5285313d17b5f9511e2e622f0b)
Diffstat (limited to 'source3/lib/ldap_escape.c')
-rw-r--r-- | source3/lib/ldap_escape.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/ldap_escape.c b/source3/lib/ldap_escape.c index fcb787e9e85..26230884341 100644 --- a/source3/lib/ldap_escape.c +++ b/source3/lib/ldap_escape.c @@ -36,7 +36,7 @@ char *escape_ldap_string_alloc(const char *s) { size_t len = strlen(s)+1; - char *output = SMB_MALLOC(len); + char *output = (char *)SMB_MALLOC(len); const char *sub; int i = 0; char *p = output; @@ -68,7 +68,7 @@ char *escape_ldap_string_alloc(const char *s) if (sub) { len = len + 3; - output = SMB_REALLOC(output, len); + output = (char *)SMB_REALLOC(output, len); if (!output) { return NULL; } |