cast in is* to get rid of stupid warning

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5550 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-03-16 13:29:48 +00:00
parent 3742083f3f
commit 36e7fe6745

View File

@@ -58,10 +58,10 @@ struct entry{
static char * static char *
skip_next(char *p) skip_next(char *p)
{ {
while(*p && !isspace(*p)) while(*p && !isspace((unsigned char)*p))
p++; p++;
*p++ = 0; *p++ = 0;
while(*p && isspace(*p)) p++; while(*p && isspace((unsigned char)*p)) p++;
return p; return p;
} }
@@ -240,7 +240,7 @@ doit(char *filename, int merge)
for(p = s; *p; p++){ for(p = s; *p; p++){
if(*p == '\\') if(*p == '\\')
p++; p++;
else if(isspace(*p)) { else if(isspace((unsigned char)*p)) {
*p = 0; *p = 0;
break; break;
} }