blob: f77dd33a1df1d812c793115a72168b8d867fb8e6 (
plain)
1
2
3
4
5
6
7
8
9
10
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);
}
|