diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-04-28 19:31:07 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-04-28 19:31:07 +0200 |
commit | a42480cf8266a1e066209823aab42c9a3829adbc (patch) | |
tree | 8b73109b66b74ca1bc39f4d29e2c4e428b85ccaf /src/OSSupport/File.cpp | |
parent | Worked around const pointer (diff) | |
download | cuberite-a42480cf8266a1e066209823aab42c9a3829adbc.tar cuberite-a42480cf8266a1e066209823aab42c9a3829adbc.tar.gz cuberite-a42480cf8266a1e066209823aab42c9a3829adbc.tar.bz2 cuberite-a42480cf8266a1e066209823aab42c9a3829adbc.tar.lz cuberite-a42480cf8266a1e066209823aab42c9a3829adbc.tar.xz cuberite-a42480cf8266a1e066209823aab42c9a3829adbc.tar.zst cuberite-a42480cf8266a1e066209823aab42c9a3829adbc.zip |
Diffstat (limited to 'src/OSSupport/File.cpp')
-rw-r--r-- | src/OSSupport/File.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp index f1b3bcf9e..33b9cfc3f 100644 --- a/src/OSSupport/File.cpp +++ b/src/OSSupport/File.cpp @@ -143,7 +143,7 @@ bool cFile::IsEOF(void) const -int cFile::Read (void * iBuffer, int iNumBytes) +int cFile::Read (void * iBuffer, size_t iNumBytes) { ASSERT(IsOpen()); @@ -159,7 +159,7 @@ int cFile::Read (void * iBuffer, int iNumBytes) -int cFile::Write(const void * iBuffer, int iNumBytes) +int cFile::Write(const void * iBuffer, size_t iNumBytes) { ASSERT(IsOpen()); |