cvs: php4 /ext/standard math.c
| From: | Marcus Boerger | Date: | Tue, 12 Nov 2002 11:46:22 +0000 |
| Subject: | cvs: php4 /ext/standard math.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16017@lists.php.net to get a copy of this message | ||
helly Tue Nov 12 06:46:22 2002 EDT
Modified files:
/php4/ext/standard math.c
Log:
fix warnings
#highest bit cannot be set so this must work
Index: php4/ext/standard/math.c
diff -u php4/ext/standard/math.c:1.96 php4/ext/standard/math.c:1.97
--- php4/ext/standard/math.c:1.96 Mon Nov 11 11:34:39 2002
+++ php4/ext/standard/math.c Tue Nov 12 06:46:21 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: math.c,v 1.96 2002/11/11 16:34:39 jason Exp $ */
+/* $Id: math.c,v 1.97 2002/11/12 11:46:21 helly Exp $ */
#include "php.h"
#include "php_math.h"
@@ -697,7 +697,7 @@
int i;
int mode = 0;
char c, *s;
- unsigned long cutoff;
+ long cutoff;
int cutlim;
if (Z_TYPE_P(arg) != IS_STRING || base < 2 || base > 36) {