summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-03 09:21:23 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-03 09:21:23 -0700
commitb1965061afffaa7c7290dfdfc53b5bbf19d73c01 (patch)
tree471550ea2603e1ce8e5cb940613cd4165b423f7f /src
parentf67e7619704ff362e5e93b3b205572457b5a2376 (diff)
Fix MSVC warning
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 1e49b8f..7b19c2a 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -1129,7 +1129,7 @@ PUGI__NS_BEGIN
// insert new marker
uint32_t* marker = static_cast<uint32_t*>(result);
- *marker = reinterpret_cast<char*>(marker) - reinterpret_cast<char*>(out_page);
+ *marker = static_cast<uint32_t>(reinterpret_cast<char*>(marker) - reinterpret_cast<char*>(out_page));
out_page->compact_page_marker = marker;
// since we don't reuse the page space until we reallocate it, we can just pretend that we freed the marker block