mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-06 12:25:00 +08:00
filesystem: fix const cast
This commit is contained in:
@@ -205,7 +205,7 @@ static void FS_BackupFileName( file_t *file, const char *path, uint options )
|
||||
if( path == NULL )
|
||||
{
|
||||
if( file->backup_path )
|
||||
Mem_Free( file->backup_path );
|
||||
Mem_Free( (void*)file->backup_path );
|
||||
if( file == fs_last_readfile )
|
||||
FS_EnsureOpenFile( NULL );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user