summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-12 12:07:24 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-12 12:07:24 +0100
commit6b2a19d50bc29aa4c905e437fc2002c3c959d4e8 (patch)
tree1442b12a530ac3d22539793e5abb5b1e7109911c /source4/param
parent3c38166cdb97cba52a11fe2e15445b45bef15de0 (diff)
downloadsamba-6b2a19d50bc29aa4c905e437fc2002c3c959d4e8.tar.gz
samba-6b2a19d50bc29aa4c905e437fc2002c3c959d4e8.tar.bz2
samba-6b2a19d50bc29aa4c905e437fc2002c3c959d4e8.zip
s4:param/loadparm.c - fix a warning by introducing a "const" cast
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index e7a0aac90b..531789e3e9 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -1710,7 +1710,7 @@ static bool set_variable(TALLOC_CTX *mem_ctx, int parmnum, void *parm_ptr,
pszParmName, pszParmValue));
return false;
}
- *(const char ***)parm_ptr = new_list;
+ *(const char ***)parm_ptr = (const char **) new_list;
break;
}
}