1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

2 more unneeded casts removed

This commit is contained in:
Alexander Medvednikov
2019-12-08 01:39:27 +03:00
parent b1174428a5
commit 5330859034
2 changed files with 2 additions and 2 deletions

View File

@@ -361,7 +361,7 @@ fn parse_binary_tetro(t_ int) []Block {
for i := 0; i <= 3; i++ {
// Get ith digit of t
p := int(math.pow(10, 3 - i))
mut digit := int(t / p)
mut digit := t / p
t %= p
// Convert the digit to binary
for j := 3; j >= 0; j-- {