diff --git a/boost/uuid/name_generator.hpp b/boost/uuid/name_generator.hpp index 42473a6..507f8e8 100644 --- a/boost/uuid/name_generator.hpp +++ b/boost/uuid/name_generator.hpp @@ -71,10 +71,10 @@ private: for (size_t i=0; i> 0) && 0xFF ); - sha.process_byte( (c >> 8) && 0xFF ); - sha.process_byte( (c >> 16) && 0xFF ); - sha.process_byte( (c >> 24) && 0xFF ); + sha.process_byte( (c >> 0) & 0xFF ); + sha.process_byte( (c >> 8) & 0xFF ); + sha.process_byte( (c >> 16) & 0xFF ); + sha.process_byte( (c >> 24) & 0xFF ); } }