Commit: 68f7354231adb3fd5e7b469ff4f0436acfd7ea32 Parent: 32c07faf12c515721157ff6f2aa612c48f514f4c Author: Randy Palamar Date: Wed, 7 Aug 2024 06:42:13 -0600 gen_incs: fix inane win32 nonsense Diffstat:
M | gen_incs.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gen_incs.c b/gen_incs.c @@ -32,7 +32,7 @@ read_whole_file(char *name, s8 *mem) exit(1); } res.data = mem->data; - fread(res.data, res.len, 1, fp); + res.len = fread(res.data, res.len, 1, fp); fclose(fp); mem->data += res.len;