diff --git a/code/qcommon/files.c b/code/qcommon/files.c index 1bbbcc82..53751e72 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -543,7 +543,7 @@ FS_CreatePath Creates any directories needed to store the given filename ============ */ -qboolean FS_CreatePath (char *OSPath) { +qboolean FS_CreatePath (const char *OSPath) { char *ofs; char path[MAX_OSPATH]; diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index 6ce1336c..00592f9b 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -625,7 +625,7 @@ void FS_FreeFileList( char **list ); qboolean FS_FileExists( const char *file ); -qboolean FS_CreatePath (char *OSPath); +qboolean FS_CreatePath (const char *OSPath); int FS_FindVM(void **startSearch, char *found, int foundlen, const char *name, int enableDll);