0
0
mirror of https://github.com/zeux/pugixml.git synced 2025-01-14 09:57:57 +08:00

STLPort warning fixed

git-svn-id: http://pugixml.googlecode.com/svn/trunk@25 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2006-12-27 15:34:16 +00:00
parent fd1432df88
commit 784235c5e6

View File

@ -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);