summaryrefslogtreecommitdiff
path: root/ext/standard/lcg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/lcg.c')
-rw-r--r--ext/standard/lcg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/lcg.c b/ext/standard/lcg.c
index 22f6fc3fb5..51447252ba 100644
--- a/ext/standard/lcg.c
+++ b/ext/standard/lcg.c
@@ -48,8 +48,8 @@ static int php_lcg_initialized = 0;
double php_combined_lcg(void)
{
- long q;
- long z;
+ php_int32 q;
+ php_int32 z;
LCGLS_FETCH();
MODMULT(53668,40014,12211,2147483563L, LCG(s1));