diff options
author | zlago | 2024-09-30 15:57:29 +0200 |
---|---|---|
committer | zlago | 2024-09-30 15:57:29 +0200 |
commit | e4ad2c9362254ab3213c4cb7c743b6bbd72b6346 (patch) | |
tree | d839f778a15f65b09fb0f0b773a500168e75afcc /src/util.c | |
parent | 45512bbc85188e3adb4eda597d0d2fa5530de651 (diff) |
commandline parameters
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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--) |