Fix for building with icc.
[folly.git] / folly / detail / FingerprintPolynomial.h
index 77cfcac05e2ef3b29140bb83f0c69aea6f6b71ea..393494587da6c2736ba6443d38a4456d9b064381 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -57,7 +57,7 @@ class FingerprintPolynomial {
 
   // Multiply by X.  The actual degree must be < DEG.
   void mulX() {
-    CHECK_EQ(0, val_[0] & (1ULL<<63));
+    CHECK_EQ(0u, val_[0] & (1ULL << 63));
     uint64_t b = 0;
     for (int i = size()-1; i >= 0; i--) {
       uint64_t nb = val_[i] >> 63;
@@ -138,5 +138,5 @@ class FingerprintPolynomial {
   uint64_t val_[1 + DEG/64];
 };
 
-}  // namespace detail
-}  // namespace folly
+} // namespace detail
+} // namespace folly