summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-20 10:04:32 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-20 10:04:32 +0000
commit2ffefba86997c9d6bc2a9b6dac1e576f4b64c777 (patch)
treed44edb7adf5a997d4522522b256af8540cf7a63e
parentcc6c263993eaf0715f231fc80ca7e6e65694548b (diff)
downloadsamba-2ffefba86997c9d6bc2a9b6dac1e576f4b64c777.tar.gz
fixed more warnings on irix
-rw-r--r--source/param/params.c6
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 );
}