summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pugixml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index b13a4d5..be8bcea 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -938,7 +938,7 @@ PUGI__NS_BEGIN
while (data < end)
{
- uint16_t lead = opt_swap::value ? endian_swap(*data) : *data;
+ unsigned int lead = opt_swap::value ? endian_swap(*data) : *data;
// U+0000..U+D7FF
if (lead < 0xD800)