summaryrefslogtreecommitdiff
path: root/source3/param/params.c
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
commit0eedf59a4721d14df09e295290705b8025cdd827 (patch)
tree0e2623bc59713acd665abd257bd54a62c59e3b36 /source3/param/params.c
parent93d458c5f68a7168ce543e820906bc55a5d3a339 (diff)
downloadsamba-0eedf59a4721d14df09e295290705b8025cdd827.tar.gz
samba-0eedf59a4721d14df09e295290705b8025cdd827.tar.bz2
samba-0eedf59a4721d14df09e295290705b8025cdd827.zip
fixed more warnings on irix
(This used to be commit 2ffefba86997c9d6bc2a9b6dac1e576f4b64c777)
Diffstat (limited to 'source3/param/params.c')
-rw-r--r--source3/param/params.c6
1 files changed, 3 insertions, 3 deletions
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 );
}