aboutsummaryrefslogtreecommitdiff
path: root/src/math/big/natconv.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/big/natconv.go')
-rw-r--r--src/math/big/natconv.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/big/natconv.go b/src/math/big/natconv.go
index d2ce667fb6..e216bd288c 100644
--- a/src/math/big/natconv.go
+++ b/src/math/big/natconv.go
@@ -302,7 +302,7 @@ func (x nat) itoa(neg bool, base int) []byte {
}
} else {
- bb, ndigits := maxPow(Word(b))
+ bb, ndigits := maxPow(b)
// construct table of successive squares of bb*leafSize to use in subdivisions
// result (table != nil) <=> (len(x) > leafSize > 0)