summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-17 00:30:21 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-17 00:31:36 +0100
commit99f7f737356a83348aeda1723d7e1b846a4693c1 (patch)
treee40d5fe77cc515559a4a40182c727c32c11cd98f
parentaf138af9e25cb9a362f8a67018645cfb30446d5a (diff)
downloadsamba-99f7f737356a83348aeda1723d7e1b846a4693c1.tar.gz
samba-99f7f737356a83348aeda1723d7e1b846a4693c1.tar.bz2
samba-99f7f737356a83348aeda1723d7e1b846a4693c1.zip
nsswitch: fix compiler warnings in winbind_nss_linux.c
metze
-rw-r--r--nsswitch/winbind_nss_linux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nsswitch/winbind_nss_linux.c b/nsswitch/winbind_nss_linux.c
index 2b51a8e15d..4a7943278e 100644
--- a/nsswitch/winbind_nss_linux.c
+++ b/nsswitch/winbind_nss_linux.c
@@ -105,8 +105,8 @@ static bool next_token_alloc(const char **ptr,
char **pp_buff,
const char *sep)
{
- char *s;
- char *saved_s;
+ const char *s;
+ const char *saved_s;
char *pbuf;
bool quoted;
size_t len=1;
@@ -116,7 +116,7 @@ static bool next_token_alloc(const char **ptr,
return(false);
}
- s = (char *)*ptr;
+ s = *ptr;
/* default to simple separators */
if (!sep) {