Commit: 1340abce1b7a40f1f9bcb6aa59552631c5bcecb0
Parent: d3576ea1a8951f6d2a601ca573563d1ecb5239f3
Author: Randy Palamar
Date: Sat, 7 Sep 2024 16:57:14 -0600
fix typo in win32 os_write_file
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/os_win32.c b/os_win32.c
@@ -74,7 +74,7 @@ os_read_file(Arena *a, char *fname, size fsize)
static b32
os_write_file(char *fname, s8 raw)
{
- if (raw.size > (size)U32_MAX) {
+ if (raw.len > (size)U32_MAX) {
fputs("os_write_file: writing files > 4GB is not yet support on win32\n", stderr);
return 0;
}