summaryrefslogtreecommitdiffstats
path: root/src/core/FileMgr.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/FileMgr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/FileMgr.h b/src/core/FileMgr.h
index bab86e38..3df0c7d8 100644
--- a/src/core/FileMgr.h
+++ b/src/core/FileMgr.h
@@ -12,8 +12,8 @@ public:
static int LoadFile(const char *file, uint8 *buf, int unused, const char *mode);
static int OpenFile(const char *file, const char *mode);
static int OpenFileForWriting(const char *file);
- static int Read(int fd, char *buf, int len);
- static int Write(int fd, char *buf, int len);
+ static int Read(int fd, const char *buf, int len);
+ static int Write(int fd, const char *buf, int len);
static bool Seek(int fd, int offset, int whence);
static bool ReadLine(int fd, char *buf, int len);
static int CloseFile(int fd);