Skip to content

Commit 49dc129

Browse files
committed
ext/random: Use uint32_t type instead of int type
1 parent 8238c8e commit 49dc129

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
@@ -361,7 +361,7 @@ PHPAPI bool php_random_hex2bin_le(const zend_string *hexstr, void *dest)
361361
const unsigned char *str = (unsigned char *) hexstr->val;
362362
unsigned char c, l, d;
363363
unsigned char *ptr = (unsigned char *) dest;
364-
int is_letter, i = 0;
364+
uint32_t is_letter, i = 0;
365365

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

0 commit comments

Comments
 (0)