git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af138af
)
nsswitch: fix compiler warnings in winbind_nss_linux.c
author
Stefan Metzmacher
<metze@samba.org>
Tue, 16 Dec 2008 23:30:21 +0000
(
00:30
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 16 Dec 2008 23:31:36 +0000
(
00:31
+0100)
metze
nsswitch/winbind_nss_linux.c
patch
|
blob
|
history
diff --git
a/nsswitch/winbind_nss_linux.c
b/nsswitch/winbind_nss_linux.c
index 2b51a8e15dbf6de4c7d848b745c53ab189e173f3..4a7943278ea9f1b71730d0e8b75827956ddc3812 100644
(file)
--- 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;
+ c
onst c
har *s;
+ c
onst c
har *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) {