Permalink
Browse files

appease MSVC (doesnt like unary minus of unsigned ints)

  • Loading branch information...
nunoplopes committed Jul 8, 2012
1 parent a76878c commit e6d9cd983b3503d38389d0c67267c773a98af174
Showing with 1 addition and 1 deletion.
  1. +1 −1 Zend/zend_hash.h
View
@@ -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; \
} \

0 comments on commit e6d9cd9

Please sign in to comment.