summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2002-06-18 00:14:52 +0000
committerEdin Kadribasic <edink@php.net>2002-06-18 00:14:52 +0000
commit67689bd5574f8b34565c090c0ab44456096399d0 (patch)
treea8310f45d43b61d47f29da66c3bd730c1f7b72c3 /ext
parentfb6bcda13b7a4202c7c2419dc28d8042ed82ebe6 (diff)
downloadphp-git-67689bd5574f8b34565c090c0ab44456096399d0.tar.gz
ZTS fix.
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/math.c4
1 files 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);
}