diff options
author | Andrei Zmievski <andrei@php.net> | 2000-04-24 14:19:21 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-04-24 14:19:21 +0000 |
commit | ec997d5c5b850f2ff0aea92e2ae8d71a7f6fe379 (patch) | |
tree | eb6c84e6efc096931be6561d6f6a1c4009ec7a39 /ext/standard/file.c | |
parent | 071c01a019f1e506b158bdb72d389c6a9eb4c979 (diff) | |
download | php-git-ec997d5c5b850f2ff0aea92e2ae8d71a7f6fe379.tar.gz |
Exterminate warnings.
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r-- | ext/standard/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |