diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-20 10:04:32 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-20 10:04:32 +0000 |
commit | 2ffefba86997c9d6bc2a9b6dac1e576f4b64c777 (patch) | |
tree | d44edb7adf5a997d4522522b256af8540cf7a63e /source/param | |
parent | cc6c263993eaf0715f231fc80ca7e6e65694548b (diff) | |
download | samba-2ffefba86997c9d6bc2a9b6dac1e576f4b64c777.tar.gz samba-2ffefba86997c9d6bc2a9b6dac1e576f4b64c777.tar.xz samba-2ffefba86997c9d6bc2a9b6dac1e576f4b64c777.zip |
fixed more warnings on irix
Diffstat (limited to 'source/param')
-rw-r--r-- | source/param/params.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/param/params.c b/source/param/params.c index 7aceb1b9dad..bc93a1fedfe 100644 --- a/source/param/params.c +++ b/source/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 ); } |