diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-10-09 08:00:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:20:51 -0500 |
commit | c403dd11fb33755809a23338ecac99676d766b88 (patch) | |
tree | d594f04f6a121fe060205a6b4f8ccaa4125efe80 /source4/lib/ldb/common/ldb_modules.c | |
parent | d6e1eb987204b83a71516addab6c3d863d09846d (diff) | |
download | samba-c403dd11fb33755809a23338ecac99676d766b88.tar.gz samba-c403dd11fb33755809a23338ecac99676d766b88.tar.bz2 samba-c403dd11fb33755809a23338ecac99676d766b88.zip |
r19188: merge from samba3:
fix compiler warnings
metze
(This used to be commit dc139d8715f58b27363266f1426da451907845eb)
Diffstat (limited to 'source4/lib/ldb/common/ldb_modules.c')
-rw-r--r-- | source4/lib/ldb/common/ldb_modules.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c index fa403658ee..3b0009ae47 100644 --- a/source4/lib/ldb/common/ldb_modules.c +++ b/source4/lib/ldb/common/ldb_modules.c @@ -81,7 +81,8 @@ const char **ldb_modules_list_from_string(struct ldb_context *ldb, TALLOC_CTX *m int i; /* spaces not admitted */ - modstr = talloc_strdup_no_spaces(mem_ctx, string); + modstr = talloc_strdup_no_spaces((struct ldb_context *)mem_ctx, + string); if ( ! modstr) { return NULL; } |