Skip to content

Commit 68caa68

Browse files
committed
Fix zts build
1 parent 19df2d7 commit 68caa68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

php_phongo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ void php_phongo_new_timestamp_from_increment_and_timestamp(zval *object, int32_t
14341434
} /* }}} */
14351435
void php_phongo_new_javascript_from_javascript(int init, zval *object, const char *code, size_t code_len TSRMLS_DC) /* {{{ */
14361436
{
1437-
php_phongo_new_javascript_from_javascript_and_scope(init, object, code, code_len, NULL);
1437+
php_phongo_new_javascript_from_javascript_and_scope(init, object, code, code_len, NULL TSRMLS_CC);
14381438
} /* }}} */
14391439
void php_phongo_new_javascript_from_javascript_and_scope(int init, zval *object, const char *code, size_t code_len, const bson_t *scope TSRMLS_DC) /* {{{ */
14401440
{

src/MongoDB/Manager.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ PHP_METHOD(Manager, selectServer)
294294
return;
295295
}
296296

297-
readPreference = phongo_read_preference_from_zval(zreadPreference);
297+
readPreference = phongo_read_preference_from_zval(zreadPreference TSRMLS_CC);
298298
server_id = mongoc_cluster_preselect(&intern->client->cluster, MONGOC_OPCODE_QUERY, readPreference, NULL);
299299
phongo_server_init(return_value, intern->client, server_id TSRMLS_CC);
300300
}

0 commit comments

Comments
 (0)