Skip to content

Commit be58940

Browse files
committed
Ensure php_phongo_bson_visit_int64() has TSRMLS vars if needed
Fixes a 32-bit build error introduced in 22a39d6 for PHPC-313
1 parent 9ac90fb commit be58940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ bool php_phongo_bson_visit_int64(const bson_iter_t *iter ARG_UNUSED, const char
530530
#else
531531
zval *retval = ((php_phongo_bson_state *)data)->zchild;
532532
#endif
533-
533+
TSRMLS_FETCH();
534534

535535
ADD_ASSOC_INT64(retval, key, v_int64);
536536

0 commit comments

Comments
 (0)