Skip to content

Commit

Permalink
Keep -vet happy
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerBill committed Feb 20, 2025
1 parent 5489a88 commit 4ece061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/runtime/core.odin
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ type_info_base_without_enum :: type_info_core
__type_info_of :: proc "contextless" (id: typeid) -> ^Type_Info #no_bounds_check {
n := u64(len(type_table))
i := transmute(u64)id % n
for k in 0..<n {
for _ in 0..<n {
ptr := type_table[i]
if ptr != nil && ptr.id == id {
return ptr
Expand Down

0 comments on commit 4ece061

Please sign in to comment.