Skip to content

Commit 587c83d

Browse files
committed
Fix build on TSRM enabled PHP
1 parent b5e37b0 commit 587c83d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/src/Cluster/Builder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ PHP_METHOD(ClusterBuilder, build)
130130
rc = cass_cluster_set_use_hostname_resolution(cluster->cluster, self->enable_hostname_resolution);
131131
if (rc == CASS_ERROR_LIB_NOT_IMPLEMENTED) {
132132
if (self->enable_hostname_resolution) {
133-
php_error_docref0(NULL, E_WARNING,
133+
php_error_docref0(NULL TSRMLS_CC, E_WARNING,
134134
"The underlying C/C++ driver does not implement hostname resolution it will be disabled");
135135
}
136136
} else {

ext/src/Map.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ php_driver_map_compare(zval *obj1, zval *obj2 TSRMLS_DC)
524524
return 1;
525525
}
526526
result = php_driver_value_compare(PHP5TO7_ZVAL_MAYBE_P(curr->value),
527-
PHP5TO7_ZVAL_MAYBE_P(entry->value));
527+
PHP5TO7_ZVAL_MAYBE_P(entry->value) TSRMLS_CC);
528528
if (result != 0) return result;
529529
}
530530

0 commit comments

Comments
 (0)