From 81f90959fe5bceb743ec243b8f7243b50e933e05 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 20 Feb 2013 01:31:00 +0300 Subject: Fix compilation with old physfs. --- src/utils/physfstools.cpp | 6 +++--- src/utils/physfstools.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp index bf0dfead3..06df8fccf 100644 --- a/src/utils/physfstools.cpp +++ b/src/utils/physfstools.cpp @@ -57,17 +57,17 @@ namespace PhysFs PHYSFS_freeList(listVar); } - PHYSFS_File *openRead(const char *filename) + PHYSFS_file *openRead(const char *filename) { return PHYSFS_openRead(filename); } - PHYSFS_File *openWrite(const char *filename) + PHYSFS_file *openWrite(const char *filename) { return PHYSFS_openWrite(filename); } - PHYSFS_File *openAppend(const char *filename) + PHYSFS_file *openAppend(const char *filename) { return PHYSFS_openAppend(filename); } diff --git a/src/utils/physfstools.h b/src/utils/physfstools.h index 8a6c70d25..f917a0841 100644 --- a/src/utils/physfstools.h +++ b/src/utils/physfstools.h @@ -32,9 +32,9 @@ namespace PhysFs char **enumerateFiles(const char *dir); bool isDirectory(const char *fname); void freeList(void *listVar); - PHYSFS_File *openRead(const char *filename); - PHYSFS_File *openWrite(const char *filename); - PHYSFS_File *openAppend(const char *filename); + PHYSFS_file *openRead(const char *filename); + PHYSFS_file *openWrite(const char *filename); + PHYSFS_file *openAppend(const char *filename); bool setWriteDir(const char *newDir); bool addToSearchPath(const char *newDir, int appendToPath); bool removeFromSearchPath(const char *oldDir); -- cgit v1.2.3-70-g09d2