]> granicus.if.org Git - php/commitdiff
ZTS fix
authorDmitry Stogov <dmitry@php.net>
Thu, 21 Sep 2006 06:46:00 +0000 (06:46 +0000)
committerDmitry Stogov <dmitry@php.net>
Thu, 21 Sep 2006 06:46:00 +0000 (06:46 +0000)
ext/bcmath/bcmath.c

index 750feaad57036aed0f84f4db6eb2722e189cd140..4e521fb506a00dc28b8ac7d347adf411a7803455 100644 (file)
@@ -319,7 +319,7 @@ PHP_FUNCTION(bcmul)
        php_str2num(&first, left TSRMLS_CC);
        php_str2num(&second, right TSRMLS_CC);
 
-       bc_multiply(first, second, &result, scale);
+       bc_multiply(first, second, &result, scale TSRMLS_CC);
        if (result->n_scale > scale) {
                result->n_scale = scale;
        }