cvs: php4 /ext/standard math.c
| From: | Stanislav Malyshev | Date: | Sun, 17 Sep 2000 21:11:55 +0000 |
| Subject: | cvs: php4 /ext/standard math.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1770@lists.php.net to get a copy of this message | ||
stas Sun Sep 17 14:11:55 2000 EDT
Modified files:
/php4/ext/standard math.c
Log:
Fix decbin
Index: php4/ext/standard/math.c
diff -u php4/ext/standard/math.c:1.35 php4/ext/standard/math.c:1.36
--- php4/ext/standard/math.c:1.35 Sun Jul 30 14:55:27 2000
+++ php4/ext/standard/math.c Sun Sep 17 14:11:55 2000
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: math.c,v 1.35 2000/07/30 21:55:27 hholzgra Exp $ */
+/* $Id: math.c,v 1.36 2000/09/17 21:11:55 stas Exp $ */
#include "php.h"
#include "php_math.h"
@@ -433,7 +433,7 @@
static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";
char *result, *ptr, *ret;
int len, digit;
- long value;
+ unsigned long value;
if (arg->type != IS_LONG || base < 2 || base > 36) {
return empty_string;