diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-09-20 10:58:51 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-09-20 10:58:51 -0700 |
commit | 1b2c1914b23a2338870a8097efe92652759be721 (patch) | |
tree | 0cee454bf83a2cbcb3eda9e95829eb9ec389f6e8 /src/pugixml.cpp | |
parent | 5b86a8f6124749bdb618ebd459e6642ac24efe14 (diff) |
Fix signed/unsigned warnings for MSVC
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r-- | src/pugixml.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 2df5394..ea6514b 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -4499,7 +4499,7 @@ PUGI__NS_BEGIN PUGI__FN int get_value_int(const char_t* value) { - return string_to_integer<unsigned int>(value, INT_MIN, INT_MAX); + return string_to_integer<unsigned int>(value, static_cast<unsigned int>(INT_MIN), INT_MAX); } PUGI__FN unsigned int get_value_uint(const char_t* value) @@ -4537,7 +4537,7 @@ PUGI__NS_BEGIN #ifdef PUGIXML_HAS_LONG_LONG PUGI__FN long long get_value_llong(const char_t* value) { - return string_to_integer<unsigned long long>(value, LLONG_MIN, LLONG_MAX); + return string_to_integer<unsigned long long>(value, static_cast<unsigned long long>(LLONG_MIN), LLONG_MAX); } PUGI__FN unsigned long long get_value_ullong(const char_t* value) |