The branch, master has been updated via 99f7f737356a83348aeda1723d7e1b846a4693c1 (commit) from af138af9e25cb9a362f8a67018645cfb30446d5a (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 99f7f737356a83348aeda1723d7e1b846a4693c1 Author: Stefan Metzmacher <me...@samba.org> Date: Wed Dec 17 00:30:21 2008 +0100 nsswitch: fix compiler warnings in winbind_nss_linux.c metze ----------------------------------------------------------------------- Summary of changes: nsswitch/winbind_nss_linux.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/nsswitch/winbind_nss_linux.c b/nsswitch/winbind_nss_linux.c index 2b51a8e..4a79432 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) { -- Samba Shared Repository