projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2019062
)
appease MSVC (doesnt like unary minus of unsigned ints)
author
Nuno Lopes
<nlopess@php.net>
Sun, 8 Jul 2012 19:19:41 +0000
(15:19 -0400)
committer
Nuno Lopes
<nlopess@php.net>
Sun, 8 Jul 2012 19:21:18 +0000
(15:21 -0400)
Zend/zend_hash.h
patch
|
blob
|
history
diff --git
a/Zend/zend_hash.h
b/Zend/zend_hash.h
index 5c3b1cde346eb403fac967e3954094b6e19084d9..1bd64394ac192917d65c5439e3e77c557884026b 100644
(file)
--- a/
Zend/zend_hash.h
+++ b/
Zend/zend_hash.h
@@
-330,7
+330,7
@@
END_EXTERN_C()
if (idx-1 > LONG_MAX) { /* overflow */ \
break; \
} \
- idx =
-idx;
\
+ idx =
0 - idx;
\
} else if (idx > LONG_MAX) { /* overflow */ \
break; \
} \