git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf50df5
)
s3:loadparm: fix an implicit cast warning in string intialization in init_globals()
author
Michael Adam
<obnox@samba.org>
Thu, 21 Jul 2011 15:22:22 +0000
(17:22 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 21 Jul 2011 16:39:15 +0000
(18:39 +0200)
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Jul 21 18:39:15 CEST 2011 on sn-devel-104
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index 85caf2071225d0c1b6327dec98bc2b77d1c8e1f1..16eb719f922cc107364cc38143d1d5b660666fae 100644
(file)
--- 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]), "");
}
}