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) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php