Skip to content

Commit 9b3bfed

Browse files
committed
Merge pull request #513
2 parents 0854de5 + a198e88 commit 9b3bfed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phongo_compat.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,13 @@
150150
if (value > INT32_MAX || value < INT32_MIN) { \
151151
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC, "Integer overflow detected on your platform: %lld", value); \
152152
} else { \
153-
add_index_long(zval, index, val); \
153+
add_index_long(zval, index, value); \
154154
}
155155
# define ADD_NEXT_INDEX_INT64(zval, value) \
156156
if (value > INT32_MAX || value < INT32_MIN) { \
157157
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC, "Integer overflow detected on your platform: %lld", value); \
158158
} else { \
159-
add_next_index_long(zval, val); \
159+
add_next_index_long(zval, value); \
160160
}
161161
# define ADD_ASSOC_INT64(zval, key, value) \
162162
if (value > INT32_MAX || value < INT32_MIN) { \

0 commit comments

Comments
 (0)