mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Remove while loop and readd c-style for loops i.e. all loops are just for
This commit is contained in:
@@ -223,7 +223,7 @@ read_entire_file :: proc(name: string) -> ([]byte, bool) {
|
||||
single_read_length: i32;
|
||||
total_read: i64;
|
||||
|
||||
while total_read < length {
|
||||
for total_read < length {
|
||||
remaining := length - total_read;
|
||||
to_read: u32;
|
||||
MAX :: 1<<32-1;
|
||||
|
||||
Reference in New Issue
Block a user