summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
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;