mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 06:38:47 +00:00
General specialization for polymorphic parameters
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user