From a78e1ec91c2a29780fe9bfabaa4d5f6c4e8166d9 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Mon, 8 Feb 2010 11:52:45 +0000 Subject: 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 --- src/pugixml.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pugixml.hpp') 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; -- cgit v1.2.3