aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/Kernel/OVR_SysFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibOVR/Src/Kernel/OVR_SysFile.cpp')
-rw-r--r--LibOVR/Src/Kernel/OVR_SysFile.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/LibOVR/Src/Kernel/OVR_SysFile.cpp b/LibOVR/Src/Kernel/OVR_SysFile.cpp
index 604527a..d08dbb2 100644
--- a/LibOVR/Src/Kernel/OVR_SysFile.cpp
+++ b/LibOVR/Src/Kernel/OVR_SysFile.cpp
@@ -51,21 +51,21 @@ public:
// Return position / file size
virtual int Tell() { return 0; }
- virtual SInt64 LTell() { return 0; }
+ virtual int64_t LTell() { return 0; }
virtual int GetLength() { return 0; }
- virtual SInt64 LGetLength() { return 0; }
+ virtual int64_t LGetLength() { return 0; }
// virtual bool Stat(FileStats *pfs) { return 0; }
virtual int GetErrorCode() { return Error_FileNotFound; }
// ** Stream implementation & I/O
- virtual int Write(const UByte *pbuffer, int numBytes) { return -1; OVR_UNUSED2(pbuffer, numBytes); }
- virtual int Read(UByte *pbuffer, int numBytes) { return -1; OVR_UNUSED2(pbuffer, numBytes); }
+ virtual int Write(const uint8_t *pbuffer, int numBytes) { return -1; OVR_UNUSED2(pbuffer, numBytes); }
+ virtual int Read(uint8_t *pbuffer, int numBytes) { return -1; OVR_UNUSED2(pbuffer, numBytes); }
virtual int SkipBytes(int numBytes) { return 0; OVR_UNUSED(numBytes); }
virtual int BytesAvailable() { return 0; }
virtual bool Flush() { return 0; }
virtual int Seek(int offset, int origin) { return -1; OVR_UNUSED2(offset, origin); }
- virtual SInt64 LSeek(SInt64 offset, int origin) { return -1; OVR_UNUSED2(offset, origin); }
+ virtual int64_t LSeek(int64_t offset, int origin) { return -1; OVR_UNUSED2(offset, origin); }
virtual int CopyFromStream(File *pstream, int byteSize) { return -1; OVR_UNUSED2(pstream, byteSize); }
virtual bool Close() { return 0; }