aboutsummaryrefslogtreecommitdiff
path: root/src/common/io/Stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/io/Stream.cpp')
-rw-r--r--src/common/io/Stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/io/Stream.cpp b/src/common/io/Stream.cpp
index bf102441..4f2953f9 100644
--- a/src/common/io/Stream.cpp
+++ b/src/common/io/Stream.cpp
@@ -7,7 +7,7 @@ Index Stream::GetSize() {
Index current_position = Tell();
Seek(0, SeekOrigin::End);
Index size = Tell();
- Seek(current_position);
+ Seek(current_position, SeekOrigin::Begin);
return size;
}