]> granicus.if.org Git - php/commitdiff
MFH: Better gmp fix.
authorIlia Alshanetsky <iliaa@php.net>
Mon, 16 Feb 2004 15:13:49 +0000 (15:13 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 16 Feb 2004 15:13:49 +0000 (15:13 +0000)
ext/gmp/gmp.c

index 6b08129cddd07b71282aa591d84b3148439d1d51..bd26a062c67addf9af11fb70bee55c561d3985e1 100644 (file)
@@ -309,7 +309,6 @@ static inline void gmp_zval_binary_ui_op_ex(zval *return_value, zval **a_arg, zv
                FETCH_GMP_ZVAL(gmpnum_b, b_arg);
        }
 
-       convert_to_long_ex(b_arg);
        if (!Z_LVAL_PP(b_arg)) {
                RETURN_FALSE;
        }
@@ -353,7 +352,6 @@ static inline void gmp_zval_binary_ui_op2_ex(zval *return_value, zval **a_arg, z
                FETCH_GMP_ZVAL(gmpnum_b, b_arg);
        }
 
-       convert_to_long_ex(b_arg);
        if (!Z_LVAL_PP(b_arg)) {
                RETURN_FALSE;
        }