com php-src: fix datatype: ext/gmp/gmp.c
| From: | Anatol Belski | Date: | Wed, 22 Oct 2014 15:56:31 +0000 |
| Subject: | com php-src: fix datatype: ext/gmp/gmp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82430@lists.php.net to get a copy of this message | ||
Commit: 9a969fdd3b8f4af2b8f36dfbb5aa26f8630ae4f5
Author: Anatol Belski <ab@php.net> Wed, 22 Oct 2014 17:46:13 +0200
Parents: a5e4f1f598f3a53e5793d290619806b41f1f1380
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9a969fdd3b8f4af2b8f36dfbb5aa26f8630ae4f5
Log:
fix datatype
Changed paths:
M ext/gmp/gmp.c
Diff:
diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c
index de29404..b5e1684 100644
--- a/ext/gmp/gmp.c
+++ b/ext/gmp/gmp.c
@@ -1792,7 +1792,7 @@ ZEND_FUNCTION(gmp_random)
Gets a random number in the range 0 to (2 ** n) - 1 */
ZEND_FUNCTION(gmp_random_bits)
{
- long bits;
+ zend_long bits;
mpz_ptr gmpnum_result;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &bits) == FAILURE) {