summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2000-09-17 21:11:55 +0000
committerStanislav Malyshev <stas@php.net>2000-09-17 21:11:55 +0000
commit08e1c852aa7a42f6d3a4c2099e9ac801090485aa (patch)
tree104dd3b065cc538da8a1dadf99cf9f0c6b4f7cb5 /ext/standard/math.c
parent27fb7df0d239c8c1f653d239fcbeee465945c9ab (diff)
downloadphp-git-08e1c852aa7a42f6d3a4c2099e9ac801090485aa.tar.gz
Fix decbin
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index 2c40a342e3..0fb3d3cf32 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -433,7 +433,7 @@ _php_math_longtobase(zval *arg, int base)
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;