From 0eedf59a4721d14df09e295290705b8025cdd827 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 20 Dec 2001 10:04:32 +0000 Subject: fixed more warnings on irix (This used to be commit 2ffefba86997c9d6bc2a9b6dac1e576f4b64c777) --- source3/param/params.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/param/params.c') diff --git a/source3/param/params.c b/source3/param/params.c index 7aceb1b9da..bc93a1fedf 100644 --- a/source3/param/params.c +++ b/source3/param/params.c @@ -191,10 +191,10 @@ static int EatComment( myFILE *InFile ) * *****************************************************************************/ -static int Continuation( char *line, int pos ) +static int Continuation(char *line, int pos ) { pos--; - while( (pos >= 0) && isspace(line[pos]) ) + while( (pos >= 0) && isspace((int)line[pos])) pos--; return (((pos >= 0) && ('\\' == line[pos])) ? pos : -1 ); @@ -425,7 +425,7 @@ static BOOL Parameter( myFILE *InFile, BOOL (*pfunc)(char *, char *), int c ) c = 0; else { - for( end = i; (end >= 0) && isspace(bufr[end]); end-- ) + for( end = i; (end >= 0) && isspace((int)bufr[end]); end-- ) ; c = mygetc( InFile ); } -- cgit