summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common.c2
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) {