summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-08 11:20:53 +0100
committerJeremy Allison <jra@samba.org>2007-12-08 09:39:20 -0800
commit0cdcd255a5ab2d776d1f4d010199ca9edd06c5e9 (patch)
treebe7021667cead68078c1c4757180c6edb3a13580
parent6e995e4f8c5884795ad5c524c670c5073f8af359 (diff)
downloadsamba-0cdcd255a5ab2d776d1f4d010199ca9edd06c5e9.tar.gz
samba-0cdcd255a5ab2d776d1f4d010199ca9edd06c5e9.tar.bz2
samba-0cdcd255a5ab2d776d1f4d010199ca9edd06c5e9.zip
Fix two incompatible pointer warnings
Jeremy, please check (This used to be commit 60500fac30911500eade7c2a9aa13569dcab0911)
-rw-r--r--source3/auth/pampass.c2
-rw-r--r--source3/nmbd/nmbd_winsserver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 554df3c157..58921bdf15 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -238,7 +238,7 @@ static struct chat_struct *make_pw_chat(const char *p)
strlower_m(t->prompt);
trim_char(t->prompt, ' ', ' ');
- if (!next_token_talloc(frame, &p, reply, NULL)) {
+ if (!next_token_talloc(frame, &p, &reply, NULL)) {
break;
}
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c
index 7dafa66b11..7344a29fe4 100644
--- a/source3/nmbd/nmbd_winsserver.c
+++ b/source3/nmbd/nmbd_winsserver.c
@@ -655,7 +655,7 @@ bool initialise_wins(void)
continue;
}
- if (!next_token_talloc(frame,&ptr,ttl_str,NULL)) {
+ if (!next_token_talloc(frame,&ptr,&ttl_str,NULL)) {
DEBUG(0,("initialise_wins: Failed to parse time to live when parsing line %s\n", line ));
TALLOC_FREE(frame);
continue;