summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2006-12-27 15:34:16 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2006-12-27 15:34:16 +0000
commit784235c5e6928c1b8dc9377812f2cd21a44c029c (patch)
treee7c24d08ad1159b65ef74def18e5a4853a733cdc /src
parentfd1432df886e4a3613f48dc1224f6130f87caea9 (diff)
STLPort warning fixed
git-svn-id: http://pugixml.googlecode.com/svn/trunk@25 99668b35-9821-0410-8761-19e4c4f06640
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);