summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.cpp
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-19 15:02:02 +0200
committertycho <work.tycho@gmail.com>2015-05-19 15:02:02 +0200
commit050a014106a57bcdcda6401090da201db15d7b87 (patch)
treece8165f1381e0317adb45a699a9d714cdc638b12 /src/OSSupport/File.cpp
parentMore fixed warnings (diff)
downloadcuberite-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.cpp4
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;