fix int.v

pull/3673/head
Alexander Medvednikov 2020-02-07 14:57:48 +01:00
parent c8dcbcb649
commit 0510bc7744
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ pub fn (nn int) str() string {
// Fill the string from the end
for n > 0 {
d := n % 10
buf[max - len - 1] = d + `0` as int
buf[max - len - 1] = d + (`0` as int)
len++
n = n / 10
}