cvs: /php4/ext/standard string.c

From: Date: Tue, 07 Sep 1999 16:09:18 +0000
Subject: cvs: /php4/ext/standard string.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-4199@lists.php.net to get a copy of this message
andrey Tue Sep 7 12:09:18 1999 EDT Modified files: /php4/ext/standard string.c Log: Kill warnings. Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.33 php4/ext/standard/string.c:1.34 --- php4/ext/standard/string.c:1.33 Sun Sep 5 16:55:13 1999 +++ php4/ext/standard/string.c Tue Sep 7 12:09:18 1999 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.33 1999/09/05 20:55:13 riffraff Exp $ */ +/* $Id: string.c,v 1.34 1999/09/07 16:09:18 andrey Exp $ */ /* Synced with php3 revision 1.193 1999-06-16 [ssb] */ @@ -1315,9 +1315,9 @@ case 'b': *target++='\b'; nlen--; break; case 'f': *target++='\f'; nlen--; break; case '\\': *target++='\\'; nlen--; break; - case 'x': if (source+1<end && isxdigit(*(source+1))) { + case 'x': if (source+1<end && isxdigit((int)(*(source+1)))) { numtmp[0] = *++source; - if (source+1<end && isxdigit(*(source+1))) { + if (source+1<end && isxdigit((int)(*(source+1)))) { numtmp[1] = *++source; numtmp[2] = '\0'; nlen-=3;

« previous php.version4 (#4199) next »