diff options
author | Nuno Lopes <nlopess@php.net> | 2012-07-08 15:19:41 -0400 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2012-07-08 15:28:29 -0400 |
commit | b2b018d5f7d0d7a0bc88e6a95fe804c39bd65b9a (patch) | |
tree | 85d427e4cec5637f62a36c0b82023925d45e275c /Zend/zend_hash.h | |
parent | 26b37f1792dfaf9b0b30f81e492c8f68b9ece571 (diff) | |
download | php-git-b2b018d5f7d0d7a0bc88e6a95fe804c39bd65b9a.tar.gz |
appease MSVC (doesnt like unary minus of unsigned ints)
Diffstat (limited to 'Zend/zend_hash.h')
-rw-r--r-- | Zend/zend_hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h index a763fc7033..81146e9dd0 100644 --- a/Zend/zend_hash.h +++ b/Zend/zend_hash.h @@ -331,7 +331,7 @@ END_EXTERN_C() if (idx-1 > LONG_MAX) { /* overflow */ \ break; \ } \ - idx = -idx; \ + idx = 0 - idx; \ } else if (idx > LONG_MAX) { /* overflow */ \ break; \ } \ |