2c417cf616
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2282 6952d904-891a-0410-993b-d76249ca496b
13 lines
508 B
Diff
13 lines
508 B
Diff
diff -uNr php-5.2.13/ext/gmp/gmp.c php-5.2.13.orig//ext/gmp/gmp.c
|
|
--- php-5.2.13/ext/gmp/gmp.c 2010-07-27 11:39:15.000000000 +0200
|
|
+++ php-5.2.13.orig//ext/gmp/gmp.c 2010-07-27 11:37:40.000000000 +0200
|
|
@@ -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);
|
|
}
|