]> granicus.if.org Git - php/commitdiff
Fix thread-safe build.
authorSebastian Bergmann <sebastian@php.net>
Mon, 11 Mar 2002 05:43:23 +0000 (05:43 +0000)
committerSebastian Bergmann <sebastian@php.net>
Mon, 11 Mar 2002 05:43:23 +0000 (05:43 +0000)
ext/standard/math.c

index c66feabf7aabc58459cbb8ba71523057a124c47b..993fd2e494b640b7bf8fd70e5db01b54bb70f676 100644 (file)
@@ -430,8 +430,8 @@ PHP_FUNCTION(pow)
        }
 
        /* make sure we're dealing with numbers */
-       convert_scalar_to_number(zbase);
-       convert_scalar_to_number(zexp);
+       convert_scalar_to_number(zbase TSRMLS_CC);
+       convert_scalar_to_number(zexp TSRMLS_CC);
 
        /* if both base and exponent were longs, we'll try to get a long out */
        wantlong = Z_TYPE_P(zbase) == IS_LONG