summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/physfsrwops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/physfsrwops.cpp b/src/utils/physfsrwops.cpp
index 9ca3080a3..a52b072e3 100644
--- a/src/utils/physfsrwops.cpp
+++ b/src/utils/physfsrwops.cpp
@@ -176,7 +176,7 @@ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle)
} /* PHYSFSRWOPS_makeRWops */
#ifdef __APPLE__
-static bool checkFilePath(char *fname)
+static bool checkFilePath(const char *fname)
{
if (!fname || !*fname)
return false;