Skip to content

Commit

Permalink
Merge pull request #513
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Jan 17, 2017
2 parents 0854de5 + a198e88 commit 9b3bfed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phongo_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,13 @@
if (value > INT32_MAX || value < INT32_MIN) { \
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC, "Integer overflow detected on your platform: %lld", value); \
} else { \
add_index_long(zval, index, val); \
add_index_long(zval, index, value); \
}
# define ADD_NEXT_INDEX_INT64(zval, value) \
if (value > INT32_MAX || value < INT32_MIN) { \
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC, "Integer overflow detected on your platform: %lld", value); \
} else { \
add_next_index_long(zval, val); \
add_next_index_long(zval, value); \
}
# define ADD_ASSOC_INT64(zval, key, value) \
if (value > INT32_MAX || value < INT32_MIN) { \
Expand Down

0 comments on commit 9b3bfed

Please sign in to comment.