while; range is now for; remove ++ and --

This commit is contained in:
Ginger Bill
2017-01-03 19:11:12 +00:00
parent a86896e4d3
commit 70d4ca00df
20 changed files with 280 additions and 436 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ read_entire_file :: proc(name: string) -> ([]byte, bool) {
single_read_length: i32;
total_read: i64;
for total_read < length {
while total_read < length {
remaining := length - total_read;
to_read: u32;
MAX :: 1<<32-1;