Skip to content

Commit 1201d3f

Browse files
committed
review+indent
1 parent 017d1df commit 1201d3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/url.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ PHP_FUNCTION(parse_url)
415415
static unsigned int php_htoi_single(unsigned char x)
416416
{
417417
ZEND_ASSERT((x >= 'a' && x <= 'f') || (x >= 'A' && x <= 'F') || (x >= '0' && x <= '9'));
418-
return 9 * (x >> 6) + (x & 017);
418+
return 9 * (x >> 6) + (x & 0xf);
419419
}
420420

421421
/* {{{ php_htoi */

0 commit comments

Comments
 (0)