diff options
Diffstat (limited to 'ext/standard/lcg.c')
-rw-r--r-- | ext/standard/lcg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/lcg.c b/ext/standard/lcg.c index 8bbe603516..8bfa05555b 100644 --- a/ext/standard/lcg.c +++ b/ext/standard/lcg.c @@ -1,8 +1,8 @@ /* +----------------------------------------------------------------------+ - | PHP Version 5 | + | PHP Version 7 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2013 The PHP Group | + | Copyright (c) 1997-2014 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -83,9 +83,9 @@ static void lcg_seed(TSRMLS_D) /* {{{ */ LCG(s1) = 1; } #ifdef ZTS - LCG(s2) = (long) tsrm_thread_id(); + LCG(s2) = (zend_long) tsrm_thread_id(); #else - LCG(s2) = (long) getpid(); + LCG(s2) = (zend_long) getpid(); #endif /* Add entropy to s2 by calling gettimeofday() again */ |