summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-21 17:02:14 +0200
committerMichael Adam <obnox@samba.org>2011-07-21 17:24:16 +0200
commit64afd5c4865578622dc3915bce83640256ae51c5 (patch)
tree4bb3855b1922d4641507d0b730c2568d0e5d1809 /source3/param
parentcc897b13ffa9ac5558cfa40c0eb473644e020bec (diff)
downloadsamba-64afd5c4865578622dc3915bce83640256ae51c5.tar.gz
samba-64afd5c4865578622dc3915bce83640256ae51c5.tar.bz2
samba-64afd5c4865578622dc3915bce83640256ae51c5.zip
s3:loadparm: szNetbiosAliases is now a const char ** - cast properly
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index cdccdc5869..d6f225b54e 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -6970,8 +6970,8 @@ static bool handle_realm(struct loadparm_context *unused, int snum, const char *
static bool handle_netbios_aliases(struct loadparm_context *unused, int snum, const char *pszParmValue, char **ptr)
{
TALLOC_FREE(Globals.szNetbiosAliases);
- Globals.szNetbiosAliases = str_list_make_v3(NULL, pszParmValue, NULL);
- return set_netbios_aliases((const char **)Globals.szNetbiosAliases);
+ Globals.szNetbiosAliases = (const char **)str_list_make_v3(NULL, pszParmValue, NULL);
+ return set_netbios_aliases(Globals.szNetbiosAliases);
}
/***************************************************************************