summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boost/boost_1_44_0-clang-warnings.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/boost/boost_1_44_0-clang-warnings.patch b/boost/boost_1_44_0-clang-warnings.patch
index df0883c58909..f48910e91074 100644
--- a/boost/boost_1_44_0-clang-warnings.patch
+++ b/boost/boost_1_44_0-clang-warnings.patch
@@ -80,3 +80,21 @@
template<class Token, class Value>
static void plus_equal(Token &t, const Value &v) {
t += v;
+--- misc/boost_1_44_0/boost/uuid/name_generator.hpp
++++ misc/build/boost_1_44_0/boost/uuid/name_generator.hpp
+@@ -72,10 +72,10 @@
+
+ for (size_t i=0; i<count; i++) {
+ uint32_t c = characters[i];
+- sha.process_byte( (c >> 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 );
+ }
+ }
+
+