boostorg / property_tree

Boost.org property_tree module
http://boost.org/libs/property_tree
55 stars 92 forks source link

[Trac #11502] Fix "always true comparison" warning in narrow_encoding.hpp #13

Closed Romain-Geissler-1A closed 8 years ago

Romain-Geissler-1A commented 9 years ago

Hi,

This is a small fix for Trac #11502 https://svn.boost.org/trac/boost/ticket/11502

gcc 4.9 reports us this warning: error: comparison is always true due to limited range of data type [-Werror=type-limits]

Cheers, Romain