mirror of
https://github.com/php/php-src.git
synced 2024-12-14 12:26:19 +08:00
Using int32_t opposite of uint32_t
This commit is contained in:
parent
b72fd9c258
commit
d7835ee224
@ -224,12 +224,12 @@ struct _zend_array {
|
||||
#endif
|
||||
|
||||
#define HT_HASH_EX(data, idx) \
|
||||
((uint32_t*)(data))[(int)(idx)]
|
||||
((uint32_t*)(data))[(int32_t)(idx)]
|
||||
#define HT_HASH(ht, idx) \
|
||||
HT_HASH_EX((ht)->arData, idx)
|
||||
|
||||
#define HT_HASH_SIZE(ht) \
|
||||
((-(int)(ht)->nTableMask) * sizeof(uint32_t))
|
||||
((-(int32_t)(ht)->nTableMask) * sizeof(uint32_t))
|
||||
#define HT_DATA_SIZE(ht) \
|
||||
((ht)->nTableSize * sizeof(Bucket))
|
||||
#define HT_SIZE(ht) \
|
||||
|
Loading…
Reference in New Issue
Block a user