diff options
author | Michael Adam <obnox@samba.org> | 2008-03-26 14:45:34 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-03-26 14:55:06 +0100 |
commit | 3253cffced724bc825da913e669b0331cbe7ac65 (patch) | |
tree | 2557c6d80f04d103ef0665dbdaa744c6e47cd151 /source3 | |
parent | 0234cc8bdd25b9727a658485c87e7c1e57ba3224 (diff) | |
download | samba-3253cffced724bc825da913e669b0331cbe7ac65.tar.gz samba-3253cffced724bc825da913e669b0331cbe7ac65.tar.bz2 samba-3253cffced724bc825da913e669b0331cbe7ac65.zip |
net_conf: add casts to avoid compiler warnings.
Michael
(This used to be commit 1c6b9a0ac34c4a7b4e000300db8dffdbb09fe7da)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_conf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c index c21631dd5e..70827abfe1 100644 --- a/source3/utils/net_conf.c +++ b/source3/utils/net_conf.c @@ -262,8 +262,8 @@ static int net_conf_import(struct smbconf_ctx *conf_ctx, werr = import_process_service(conf_ctx, servicename, num_params, - param_names, - param_values); + (const char **)param_names, + (const char **)param_values); if (!W_ERROR_IS_OK(werr)) { goto done; } @@ -279,10 +279,10 @@ static int net_conf_import(struct smbconf_ctx *conf_ctx, } for (sidx = 0; sidx < num_shares; sidx++) { werr = import_process_service(conf_ctx, - share_names[sidx], - num_params[sidx], - param_names[sidx], - param_values[sidx]); + share_names[sidx], + num_params[sidx], + (const char **)param_names[sidx], + (const char **)param_values[sidx]); if (!W_ERROR_IS_OK(werr)) { goto done; } |