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:
@@ -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-- {
|
||||
|
Reference in New Issue
Block a user