summary refs log tree commit diff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
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--)