diff options
Diffstat (limited to 'source/n/php/php.gmp5.diff')
-rw-r--r-- | source/n/php/php.gmp5.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/n/php/php.gmp5.diff b/source/n/php/php.gmp5.diff new file mode 100644 index 00000000..f77dd33a --- /dev/null +++ b/source/n/php/php.gmp5.diff @@ -0,0 +1,11 @@ +--- ./ext/gmp/gmp.c.orig 2010-01-03 03:23:27.000000000 -0600 ++++ ./ext/gmp/gmp.c 2010-03-05 21:27:46.000000000 -0600 +@@ -1396,7 +1396,7 @@ + + GMPG(rand_initialized) = 1; + } +- mpz_urandomb(*gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * __GMP_BITS_PER_MP_LIMB); ++ mpz_urandomb(*gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * GMP_LIMB_BITS); + + ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp); + } |