summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-01 16:00:20 +0200
committermadmaxoft <github@xoft.cz>2014-04-01 16:00:20 +0200
commit2672b14c036f74548f970349aa08b6cb02600688 (patch)
tree83518e1cebb25f7b1b70e3f5bf9159bd601f9dd8 /src/OSSupport/File.cpp
parentMerge branch 'RemoveClangFlags' (diff)
downloadcuberite-2672b14c036f74548f970349aa08b6cb02600688.tar
cuberite-2672b14c036f74548f970349aa08b6cb02600688.tar.gz
cuberite-2672b14c036f74548f970349aa08b6cb02600688.tar.bz2
cuberite-2672b14c036f74548f970349aa08b6cb02600688.tar.lz
cuberite-2672b14c036f74548f970349aa08b6cb02600688.tar.xz
cuberite-2672b14c036f74548f970349aa08b6cb02600688.tar.zst
cuberite-2672b14c036f74548f970349aa08b6cb02600688.zip
Diffstat (limited to '')
-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;
}