From 038ba12e8724d537040e88ec794354b0c063f0a6 Mon Sep 17 00:00:00 2001 From: Ondřej Surý Date: Fri, 18 Mar 2011 11:28:21 +0100 Subject: Imported Upstream version 5.3.6 --- ext/gmp/gmp.c | 4 +--- ext/gmp/php_gmp.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'ext/gmp') diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index 8d36c7f1e..d1301512f 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2010 The PHP Group | + | Copyright (c) 1997-2011 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -957,12 +957,10 @@ ZEND_FUNCTION(gmp_div_q) ZEND_FUNCTION(gmp_mod) { zval **a_arg, **b_arg; - zval b_copy; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ZZ", &a_arg, &b_arg) == FAILURE){ return; } - gmp_zval_binary_ui_op_ex(return_value, a_arg, b_arg, mpz_mod, (gmp_binary_ui_op_t)mpz_mod_ui, 1, 1, 0 TSRMLS_CC); } diff --git a/ext/gmp/php_gmp.h b/ext/gmp/php_gmp.h index dfe2080a7..b84b3b842 100644 --- a/ext/gmp/php_gmp.h +++ b/ext/gmp/php_gmp.h @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2010 The PHP Group | + | Copyright (c) 1997-2011 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | -- cgit v1.2.3