summaryrefslogtreecommitdiff
path: root/ext/standard/php_rand.h
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2015-01-12 09:02:17 +0000
committerJakub Zelenka <bukka@php.net>2015-01-12 09:02:17 +0000
commitb3823f5cab4e405b767cd8dddebb54b1c29bd2a8 (patch)
treee42fbf615d62213c1e744b8a909155e8f2cdaa87 /ext/standard/php_rand.h
parente6fb493e5dbafdad37ba5334c986636342b5d9aa (diff)
parent31817447cc06093368f022086340ad3f6f616528 (diff)
downloadphp-git-b3823f5cab4e405b767cd8dddebb54b1c29bd2a8.tar.gz
Merge branch 'master' into jsond
Conflicts: ext/json/JSON_parser.c ext/json/JSON_parser.h ext/json/json.c ext/json/utf8_decode.c
Diffstat (limited to 'ext/standard/php_rand.h')
-rw-r--r--ext/standard/php_rand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_rand.h b/ext/standard/php_rand.h
index e775d1b465..1c037f4cff 100644
--- a/ext/standard/php_rand.h
+++ b/ext/standard/php_rand.h
@@ -45,7 +45,7 @@
(__n) = (__min) + (zend_long) ((double) ( (double) (__max) - (__min) + 1.0) * ((__n) / ((__tmax) + 1.0)))
/* MT Rand */
-#define PHP_MT_RAND_MAX ((zend_long) (0x7FFFFFFF)) /* (1<<31) - 1 */
+#define PHP_MT_RAND_MAX ((zend_long) (0x7FFFFFFF)) /* (1<<31) - 1 */
#ifdef PHP_WIN32
#define GENERATE_SEED() (((zend_long) (time(0) * GetCurrentProcessId())) ^ ((zend_long) (1000000.0 * php_combined_lcg())))