diff options
author | zlago | 2025-02-03 17:52:34 +0100 |
---|---|---|
committer | zlago | 2025-02-03 17:52:34 +0100 |
commit | 4efa9f571e84cda3741e524fb21a3a22cdbc13fb (patch) | |
tree | a562d9b9efcc5f396f659c6ca11e38335a498534 /src/common | |
parent | 04cbd877cddabf1d7e4bbfd0f4f7553f6fc57899 (diff) |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |