diff options
author | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2013-12-20 08:24:38 +0000 |
---|---|---|
committer | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2013-12-20 08:24:38 +0000 |
commit | 783af7926420e17f10d80d74cf3459b2c87d2541 (patch) | |
tree | cfd074a6677d2d35761368b30c947f68ea1d5285 /src/pugixml.cpp | |
parent | 79109a8546f963d17522d75112cffcfd8cbe35fc (diff) |
Fix gcc-4.9 compilation warning when using -Wstrict-overflow
git-svn-id: http://pugixml.googlecode.com/svn/trunk@957 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r-- | src/pugixml.cpp | 2 |
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) |