From 4efa9f571e84cda3741e524fb21a3a22cdbc13fb Mon Sep 17 00:00:00 2001 From: zlago Date: Mon, 3 Feb 2025 17:52:34 +0100 Subject: bugfixes --- src/common/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/common.c') diff --git a/src/common/common.c b/src/common/common.c index a944f8f..8628cd2 100644 --- a/src/common/common.c +++ b/src/common/common.c @@ -23,7 +23,7 @@ struct blob load_file(char const *const name) { if (file == NULL) { return (struct blob) {.data = NULL}; } - void *data = malloc(START_SIZE); + char *data = malloc(START_SIZE); size_t allocated = START_SIZE; size_t used = 0; while (1) { -- cgit 1.4.1-2-gfad0