Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

appease MSVC (doesnt like unary minus of unsigned ints)

  • Loading branch information...
commit b2b018d5f7d0d7a0bc88e6a95fe804c39bd65b9a 1 parent 26b37f1
Nuno Lopes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Zend/zend_hash.h
View
2  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; \
} \
Please sign in to comment.
Something went wrong with that request. Please try again.