Add const to FS_CreatePath argument

This commit is contained in:
Tim Angus 2025-09-01 16:59:26 +01:00
parent 3b90b76d7f
commit ca1ea17f0d
2 changed files with 2 additions and 2 deletions

View File

@ -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];

View File

@ -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);