summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-26 09:21:58 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-26 09:21:58 +0000
commit0916fd50c020f0baff13af2aa6bb95f6f21ec092 (patch)
tree7ab22e011cbe24f13f38823c80f1ccca9b6f4eb9 /ext/standard/math.c
parentd85b39e5325f944a3472010b94cfc1a0ee192b69 (diff)
downloadphp-git-0916fd50c020f0baff13af2aa6bb95f6f21ec092.tar.gz
5th and probably/hopefully last run of conv_z_macros
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c2
1 files changed, 1 insertions, 1 deletions
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;
}