summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-03-07 08:56:38 +0000
committerAntony Dovgal <tony2001@php.net>2008-03-07 08:56:38 +0000
commit184173fccc96714a23fb2842947c60e36a464bc7 (patch)
tree7277b5a41cabebe230644e87ff60a1b7850281c6 /ext/standard
parent1dac2d21a834e2bdd18409c4f9041133d102b5f4 (diff)
downloadphp-git-184173fccc96714a23fb2842947c60e36a464bc7.tar.gz
fix build
Diffstat (limited to 'ext/standard')
-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 804a14b2aa..d7146bb7d3 100644
--- a/ext/standard/php_rand.h
+++ b/ext/standard/php_rand.h
@@ -49,7 +49,7 @@
#ifdef PHP_WIN32
#define GENERATE_SEED() (((long) (time(0) * GetCurrentProcessId())) ^ ((long) (1000000.0 * php_combined_lcg(TSRMLS_C))))
#else
-#define GENERATE_SEED() (((long) (time(0) * getpid())) ^ ((long) (1000000.0 * php_combined_lcg(TSRMLS_C)))))
+#define GENERATE_SEED() (((long) (time(0) * getpid())) ^ ((long) (1000000.0 * php_combined_lcg(TSRMLS_C))))
#endif
PHPAPI void php_srand(long seed TSRMLS_DC);