More C++ compatibility fixes

This commit is contained in:
Brian Koropoff 2007-03-18 07:12:45 +00:00 committed by Jeff Teunissen
parent e6e28d3e5e
commit 25fdbdab58
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ byte *QFS_LoadHunkFile (const char *path);
void QFS_LoadCacheFile (const char *path, struct cache_user_s *cu);
int QFS_CreatePath (const char *path);
int QFS_Rename (const char *old, const char *new);
int QFS_Rename (const char *old_path, const char *new_path);
int QFS_Remove (const char *path);
int QFS_NextFilename (struct dstring_s *filename, const char *prefix,
const char *ext);

View file

@ -1401,7 +1401,7 @@ QFS_WOpen (const char *path, int zip)
}
VISIBLE int
QFS_Rename (const char *old, const char *new)
QFS_Rename (const char *old_path, const char *new_path)
{
dstring_t *full_old = dstring_new ();
dstring_t *full_new = dstring_new ();