General specialization for polymorphic parameters

This commit is contained in:
Ginger Bill
2017-07-18 18:05:41 +01:00
parent 5af0acc4af
commit d16aa79492
6 changed files with 193 additions and 99 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ read_entire_file :: proc(name: string) -> ([]u8, bool) {
return nil, true;
}
data := make([]u8, length);
data := make([]u8, int(length));
if data == nil {
return nil, false;
}