php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #68450
Patch php-5.6.3-gmp.patch revision 2014-11-19 13:52 UTC by p dot gackiewicz at intertele dot pl

Patch php-5.6.3-gmp.patch for Compile Failure Bug #68450

Patch version 2014-11-19 13:52 UTC

Return to Bug #68450 | Download this patch
Patch Revisions:

Developer: p.gackiewicz@intertele.pl

--- php-5.6.3/ext/gmp/gmp.c	2014-11-12 14:52:21.000000000 +0100
+++ php-5.6.3-patched/ext/gmp/gmp.c	2014-11-19 14:18:29.000000000 +0100
@@ -1776,7 +1776,7 @@
 #if GMP_42_OR_NEWER
 		gmp_randinit_mt(GMPG(rand_state));
 #else
-		gmp_randinit_lc_2exp(GMPG(rand_state), 32L);
+		gmp_randinit_lc_2exp_size(GMPG(rand_state), 32L);
 #endif
 		/* Seed */
 		gmp_randseed_ui(GMPG(rand_state), GENERATE_SEED());
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Oct 18 22:01:27 2019 UTC