From 0cdcd255a5ab2d776d1f4d010199ca9edd06c5e9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 8 Dec 2007 11:20:53 +0100 Subject: Fix two incompatible pointer warnings Jeremy, please check (This used to be commit 60500fac30911500eade7c2a9aa13569dcab0911) --- source3/auth/pampass.c | 2 +- source3/nmbd/nmbd_winsserver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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; -- cgit