summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 910c082..63bd36a 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -1914,7 +1914,7 @@ namespace pugi
{
free();
- int length = 0, pos = stream.tellg();
+ std::streamoff length = 0, pos = stream.tellg();
stream.seekg(0, std::ios_base::end);
length = stream.tellg();
stream.seekg(pos, std::ios_base::beg);