mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
appease MSVC (doesnt like unary minus of unsigned ints)
This commit is contained in:
parent
a76878cd59
commit
e6d9cd983b
@ -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; \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user