diff --git a/engine/client/sys_morphos.c b/engine/client/sys_morphos.c index 44d4eb537..2b6874bf0 100755 --- a/engine/client/sys_morphos.c +++ b/engine/client/sys_morphos.c @@ -198,7 +198,7 @@ int Sys_FileTime(char *path) return ret; } -int Sys_EnumerateFiles(char *gpath, char *match, int (*func)(char *, int, void *), void *parm) +int Sys_EnumerateFiles(const char *gpath, const char *match, int (*func)(const char *, int, void *), void *parm) { char *pattern; char pattrans[256];