diff options
author | Michael Adam <obnox@samba.org> | 2011-07-21 17:22:22 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-21 18:39:15 +0200 |
commit | 71b49f5596f6d70001dbc5d569a7349a86081036 (patch) | |
tree | 56a77cfbe3b020dbfd830cf45a5657e17b403148 /source3 | |
parent | cf50df5c6915395ceba1e78aa860ac26e6434aae (diff) | |
download | samba-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.c | 2 |
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]), ""); } } |