]> granicus.if.org Git - php/commitdiff
5th and probably/hopefully last run of conv_z_macros
authorJeroen van Wolffelaar <jeroen@php.net>
Wed, 26 Sep 2001 09:21:58 +0000 (09:21 +0000)
committerJeroen van Wolffelaar <jeroen@php.net>
Wed, 26 Sep 2001 09:21:58 +0000 (09:21 +0000)
ext/standard/math.c

index 7d4dcc237add2dbecb3caaeea16461b559ba33ca..57a5de0796ba126118a06353bbe5b016ae8ff5ac 100644 (file)
@@ -621,7 +621,7 @@ PHP_FUNCTION(hypot)
        }
        convert_to_double_ex(num1);
        convert_to_double_ex(num2);
-       Z_DVAL_P(return_value) = hypot((*num1)->value.dval, (*num2)->value.dval);
+       Z_DVAL_P(return_value) = hypot(Z_DVAL_PP(num1), Z_DVAL_PP(num2));
        Z_TYPE_P(return_value) = IS_DOUBLE;
 }