1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

Fix two incompatible pointer warnings

Jeremy, please check
(This used to be commit 60500fac30911500eade7c2a9aa13569dcab0911)
This commit is contained in:
Volker Lendecke 2007-12-08 11:20:53 +01:00 committed by Jeremy Allison
parent 6e995e4f8c
commit 0cdcd255a5
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;