From c5a7bbf7c1db11bf665d5008726c67bbb812f7ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Sun, 25 Jun 2023 21:35:24 +0200 Subject: [PATCH] fix: set_version typings --- set_version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/set_version.c b/set_version.c index fd2c25a..961fbcd 100644 --- a/set_version.c +++ b/set_version.c @@ -13,7 +13,7 @@ int main(int argc, string_t* argv) { content = string_concatenate(content, argv[1]); content = string_concatenate(content, "\"\n\n"); content = string_concatenate(content, "#endif\n"); - int result = filesystem_write("./version.h", content, string_get_length(content)); + int result = filesystem_write("./version.h", (byte_t*)content, string_get_length(content)); if (result == -1) { fprintf(stderr, "Error: Could not write to file.\n"); return EXIT_FAILURE;