Browse Source

filesystem: fix const cast

pull/2/head
mittorn 5 years ago
parent
commit
27da2e10ff
  1. 2
      engine/common/filesystem.c

2
engine/common/filesystem.c

@ -205,7 +205,7 @@ static void FS_BackupFileName( file_t *file, const char *path, uint options )
if( path == NULL ) if( path == NULL )
{ {
if( file->backup_path ) if( file->backup_path )
Mem_Free( file->backup_path ); Mem_Free( (void*)file->backup_path );
if( file == fs_last_readfile ) if( file == fs_last_readfile )
FS_EnsureOpenFile( NULL ); FS_EnsureOpenFile( NULL );
} }

Loading…
Cancel
Save