summary refs log tree commit diff
path: root/src/common
diff options
context:
space:
mode:
authorzlago2025-02-03 17:52:34 +0100
committerzlago2025-02-03 17:52:34 +0100
commit4efa9f571e84cda3741e524fb21a3a22cdbc13fb (patch)
treea562d9b9efcc5f396f659c6ca11e38335a498534 /src/common
parent04cbd877cddabf1d7e4bbfd0f4f7553f6fc57899 (diff)
bugfixes HEAD main
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) {