From: Jeroen van Wolffelaar Date: Wed, 26 Sep 2001 09:21:58 +0000 (+0000) Subject: 5th and probably/hopefully last run of conv_z_macros X-Git-Tag: php4~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0916fd50c020f0baff13af2aa6bb95f6f21ec092;p=php 5th and probably/hopefully last run of conv_z_macros --- diff --git a/ext/standard/math.c b/ext/standard/math.c index 7d4dcc237a..57a5de0796 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -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; }