diff options
author | madmaxoft <github@xoft.cz> | 2014-04-28 20:16:37 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-28 20:16:37 +0200 |
commit | 8ae472df864786417ce3e9ed8df186da2960bc02 (patch) | |
tree | aecc48e1051d91638ed84250ec06ef764f12a2ab /src/OSSupport/File.h | |
parent | Merge pull request #954 from mc-server/projectiles-split (diff) | |
parent | Removed static from combinators. (diff) | |
download | cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar.gz cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar.bz2 cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar.lz cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar.xz cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.tar.zst cuberite-8ae472df864786417ce3e9ed8df186da2960bc02.zip |
Diffstat (limited to 'src/OSSupport/File.h')
-rw-r--r-- | src/OSSupport/File.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OSSupport/File.h b/src/OSSupport/File.h index b394c5cb9..2a7ecf0ed 100644 --- a/src/OSSupport/File.h +++ b/src/OSSupport/File.h @@ -80,10 +80,10 @@ public: bool IsEOF(void) const; /** Reads up to iNumBytes bytes into iBuffer, returns the number of bytes actually read, or -1 on failure; asserts if not open */ - int Read (void * iBuffer, int iNumBytes); + int Read (void * iBuffer, size_t iNumBytes); /** Writes up to iNumBytes bytes from iBuffer, returns the number of bytes actually written, or -1 on failure; asserts if not open */ - int Write(const void * iBuffer, int iNumBytes); + int Write(const void * iBuffer, size_t iNumBytes); /** Seeks to iPosition bytes from file start, returns old position or -1 for failure; asserts if not open */ int Seek (int iPosition); |