diff options
author | tycho <work.tycho@gmail.com> | 2015-05-19 15:02:02 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-19 15:02:02 +0200 |
commit | 050a014106a57bcdcda6401090da201db15d7b87 (patch) | |
tree | ce8165f1381e0317adb45a699a9d714cdc638b12 /src/OSSupport/File.cpp | |
parent | More fixed warnings (diff) | |
download | cuberite-050a014106a57bcdcda6401090da201db15d7b87.tar cuberite-050a014106a57bcdcda6401090da201db15d7b87.tar.gz cuberite-050a014106a57bcdcda6401090da201db15d7b87.tar.bz2 cuberite-050a014106a57bcdcda6401090da201db15d7b87.tar.lz cuberite-050a014106a57bcdcda6401090da201db15d7b87.tar.xz cuberite-050a014106a57bcdcda6401090da201db15d7b87.tar.zst cuberite-050a014106a57bcdcda6401090da201db15d7b87.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 ed0dda681..6327b3505 100644 --- a/src/OSSupport/File.cpp +++ b/src/OSSupport/File.cpp @@ -256,13 +256,13 @@ int cFile::ReadRestOfFile(AString & a_Contents) return -1; } - ssize_t TotalSize = GetSize(); + long TotalSize = GetSize(); if (TotalSize < 0) { return -1; } - ssize_t Position = Tell(); + long Position = Tell(); if (Position < 0) { return -1; |