Skip to content

Commit 459eb54

Browse files
committed
ext/random: Use uint32_t type instead of int type
1 parent 6d8b9d5 commit 459eb54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/random/random.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ PHPAPI bool php_random_hex2bin_le(const zend_string *hexstr, void *dest)
360360
const unsigned char *str = (unsigned char *) hexstr->val;
361361
unsigned char c, l, d;
362362
unsigned char *ptr = (unsigned char *) dest;
363-
int is_letter, i = 0;
363+
uint32_t is_letter, i = 0;
364364

365365
#ifdef WORDS_BIGENDIAN
366366
/* force little endian */

0 commit comments

Comments
 (0)