Allow folly to compile cleanly with most of the rest of MSVC's sign mismatch warnings
[folly.git] / folly / SpookyHashV1.h
index d6c5553908d6a6a04bed8536ad0c07c6c6670efe..9cfe02995423d5fd0fc8d6173f59e9f1d1cf73fa 100644 (file)
@@ -42,8 +42,7 @@
 // slower than MD5.
 //
 
-#ifndef FOLLY_SPOOKYHASHV1_H_
-#define FOLLY_SPOOKYHASHV1_H_
+#pragma once
 
 #include <cstddef>
 #include <cstdint>
@@ -292,7 +291,7 @@ private:
     //  * is a not-very-regular mix of 1's and 0's
     //  * does not need any other special mathematical properties
     //
-    static const uint64_t sc_const = 0xdeadbeefdeadbeefLL;
+    static const uint64_t sc_const = 0xdeadbeefdeadbeefULL;
 
     uint64_t m_data[2*sc_numVars];  // unhashed data, for partial messages
     uint64_t m_state[sc_numVars];   // internal state of the hash
@@ -302,5 +301,3 @@ private:
 
 }  // namespace hash
 }  // namespace folly
-
-#endif