From 67689bd5574f8b34565c090c0ab44456096399d0 Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Tue, 18 Jun 2002 00:14:52 +0000 Subject: [PATCH] ZTS fix. --- ext/standard/math.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/math.c b/ext/standard/math.c index 75eee0dac1..f6bf528dab 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -757,7 +757,7 @@ _php_math_longtobase(zval *arg, int base) * the number. */ PHPAPI char * -_php_math_zvaltobase(zval *arg, int base) +_php_math_zvaltobase(zval *arg, int base TSRMLS_DC) { static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; @@ -937,7 +937,7 @@ PHP_FUNCTION(base_convert) if(_php_math_basetozval(*number, Z_LVAL_PP(frombase), &temp) != SUCCESS) { RETURN_FALSE; } - result = _php_math_zvaltobase(&temp, Z_LVAL_PP(tobase)); + result = _php_math_zvaltobase(&temp, Z_LVAL_PP(tobase) TSRMLS_CC); RETVAL_STRING(result, 0); } -- 2.40.0