summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;