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
This commit is contained in:
parent
79109a8546
commit
783af79264
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue