From 0916fd50c020f0baff13af2aa6bb95f6f21ec092 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Wed, 26 Sep 2001 09:21:58 +0000 Subject: [PATCH] 5th and probably/hopefully last run of conv_z_macros --- ext/standard/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.50.1