]> granicus.if.org Git - php/commitdiff
Simplify / fix
authorZeev Suraski <zeev@php.net>
Mon, 15 Sep 2003 08:13:34 +0000 (08:13 +0000)
committerZeev Suraski <zeev@php.net>
Mon, 15 Sep 2003 08:13:34 +0000 (08:13 +0000)
Zend/zend_operators.c

index 4369f10d9053d14466f1c4c036a821aed024fb5b..257ea583e089a776465f7d4a070f3e9c9b0ab6d4 100644 (file)
@@ -33,7 +33,7 @@
 #include "ext/bcmath/number.h"
 #endif
 
-#define LONG_SIGN_MASK (1L << (8*SIZEOF_LONG-1))
+#define LONG_SIGN_MASK (1L << (8*sizeof(long)-1))
 
 ZEND_API int zend_atoi(const char *str, int str_len)
 {