cvs: /php4/ext/standard file.c

From: Date: Mon, 24 Apr 2000 14:19:52 +0000
Subject: cvs: /php4/ext/standard file.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-13965@lists.php.net to get a copy of this message
andrei Mon Apr 24 07:19:52 2000 EDT Modified files: /php4/ext/standard file.c Log: Exterminate warnings. Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.75 php4/ext/standard/file.c:1.76 --- php4/ext/standard/file.c:1.75 Mon Apr 24 07:18:11 2000 +++ php4/ext/standard/file.c Mon Apr 24 07:19:21 2000 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.75 2000/04/24 14:18:11 andrei Exp $ */ +/* $Id: file.c,v 1.76 2000/04/24 14:19:21 andrei Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -1703,7 +1703,7 @@ 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 @@ } 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;

« previous php.version4 (#13965) next »