diff --git a/include/boost/algorithm/hex.hpp b/include/boost/algorithm/hex.hpp index dc8cd1c..2adb0be 100644 --- a/include/boost/algorithm/hex.hpp +++ b/include/boost/algorithm/hex.hpp @@ -65,8 +65,8 @@ namespace detail { template unsigned char hex_char_to_int ( T val ) { - char c = static_cast ( val ); - unsigned retval = 0; + char c = static_cast ( val ); + unsigned retval = 0; if ( c >= '0' && c <= '9' ) retval = c - '0'; else if ( c >= 'A' && c <= 'F' ) retval = c - 'A' + 10; else if ( c >= 'a' && c <= 'f' ) retval = c - 'a' + 10;