From ec997d5c5b850f2ff0aea92e2ae8d71a7f6fe379 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Mon, 24 Apr 2000 14:19:21 +0000 Subject: Exterminate warnings. --- ext/standard/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/standard/file.c') diff --git a/ext/standard/file.c b/ext/standard/file.c index 750ca9cde4..847b574c85 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1703,7 +1703,7 @@ PHP_FUNCTION(fgetcsv) { lineEnd = emalloc(sizeof(char) * (len + 1)); bptr = buf; tptr = buf + strlen(buf) -1; - while ( isspace(*tptr) && (tptr > bptr) ) tptr--; + while ( isspace((int)*tptr) && (tptr > bptr) ) tptr--; tptr++; strcpy(lineEnd, tptr); @@ -1763,7 +1763,7 @@ PHP_FUNCTION(fgetcsv) { } bptr = buf; tptr = buf + strlen(buf) -1; - while ( isspace(*tptr) && (tptr > bptr) ) tptr--; + while ( isspace((int)*tptr) && (tptr > bptr) ) tptr--; tptr++; strcpy(lineEnd, tptr); *tptr++ = ' '; *tptr = 0; -- cgit v1.2.1