mirror of
https://github.com/php/php-src.git
synced 2026-04-04 22:52:40 +02:00
Kill warnings.
This commit is contained in:
@@ -1315,9 +1315,9 @@ PHPAPI void php_stripcslashes(char *str, int *len)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user