summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-21 17:22:22 +0200
committerMichael Adam <obnox@samba.org>2011-07-21 18:39:15 +0200
commit71b49f5596f6d70001dbc5d569a7349a86081036 (patch)
tree56a77cfbe3b020dbfd830cf45a5657e17b403148 /source3
parentcf50df5c6915395ceba1e78aa860ac26e6434aae (diff)
downloadsamba-71b49f5596f6d70001dbc5d569a7349a86081036.tar.gz
samba-71b49f5596f6d70001dbc5d569a7349a86081036.tar.bz2
samba-71b49f5596f6d70001dbc5d569a7349a86081036.zip
s3:loadparm: fix an implicit cast warning in string intialization in init_globals()
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Jul 21 18:39:15 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 85caf20712..16eb719f92 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -4706,7 +4706,7 @@ static void init_globals(bool reinit_globals)
if ((parm_table[i].type == P_STRING ||
parm_table[i].type == P_USTRING))
{
- string_set(lp_parm_ptr(NULL, &parm_table[i]), "");
+ string_set((char **)lp_parm_ptr(NULL, &parm_table[i]), "");
}
}