From e4ad2c9362254ab3213c4cb7c743b6bbd72b6346 Mon Sep 17 00:00:00 2001 From: zlago Date: Mon, 30 Sep 2024 15:57:29 +0200 Subject: commandline parameters --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index f6b00a9..21aeb22 100644 --- a/src/util.c +++ b/src/util.c @@ -51,7 +51,7 @@ void *util_loadFile(FILE *const restrict file, size_t *const restrict outsize) { #define DIR_SEPARATOR '\\' // DOS #endif -char *util_executableRelativePath(char *path, char *execPath, size_t dirLength) { // allocated on the heap +char *util_executableRelativePath(char const *const path, char const *const execPath, size_t dirLength) { // allocated on the heap dirLength = 0; if (dirLength == 0) { for (dirLength = strlen(execPath); dirLength > 0 && execPath[dirLength - 1] != DIR_SEPARATOR; dirLength--) -- cgit 1.4.1-2-gfad0