summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/OSSupport/File.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp
index 75ea198a8..7f0f0ad2f 100644
--- a/src/OSSupport/File.cpp
+++ b/src/OSSupport/File.cpp
@@ -232,7 +232,7 @@ int cFile::GetSize(void) const
return -1;
}
int res = Tell();
- if (fseek(m_File, (size_t)CurPos, SEEK_SET) != 0)
+ if (fseek(m_File, (long)CurPos, SEEK_SET) != 0)
{
return -1;
}