Skip to content

Commit

Permalink
make -vet happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonKercher committed Jan 11, 2025
1 parent fa7ef28 commit c11dccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/sys/linux/wrappers.odin
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ dirent_name :: proc "contextless" (dirent: ^Dirent) -> string #no_bounds_check {

trunc := min(str_size, 8)
str_size -= trunc
for i in 0..<trunc {
for _ in 0..<trunc {
str_size += 1
if str[str_size] == 0 {
break
Expand Down

0 comments on commit c11dccf

Please sign in to comment.