summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-02-08 11:52:45 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-02-08 11:52:45 +0000
commita78e1ec91c2a29780fe9bfabaa4d5f6c4e8166d9 (patch)
tree7cbd83d09be9ecc33d5f587eb43a3f8c036e2df6 /src/pugixml.hpp
parentf5bdc4b9dc7f4d1981b2d0d4b4a0ae22b9e895d4 (diff)
Replaced int with ptrdiff_t for offset_debug() and last parsed offset in xml_parse_result
git-svn-id: http://pugixml.googlecode.com/svn/trunk@248 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 95a3f7e..0a4d9fd 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -1374,7 +1374,7 @@ namespace pugi
* if element node name has significantly changed; this is guaranteed to return correct offset only for nodes that have not changed
* since parsing.
*/
- int offset_debug() const;
+ ptrdiff_t offset_debug() const;
};
#ifdef __BORLANDC__
@@ -1697,7 +1697,7 @@ namespace pugi
xml_parse_status status;
/// Last parsed offset (in bytes from file/string start)
- unsigned int offset;
+ ptrdiff_t offset;
/// Line in parser source which reported this
unsigned int line;