Allocate stacks with guard pages by default
[folly.git] / folly / Fingerprint.h
index a0c474564ab20708ee48b2a97f8bc3471b848f4b..c4f6978d89d33d5face3be4bbf95e7bd2204eade 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -47,7 +47,7 @@
 
 #include <cstdint>
 
-#include "folly/Range.h"
+#include <folly/Range.h>
 
 namespace folly {
 
@@ -74,7 +74,7 @@ class Fingerprint {
  public:
   Fingerprint() {
     // Use a non-zero starting value. We'll use (1 << (BITS-1))
-    fp_[0] = 1UL << 63;
+    fp_[0] = 1ULL << 63;
     for (int i = 1; i < size(); i++)
       fp_[i] = 0;
   }
@@ -263,4 +263,3 @@ inline uint64_t Fingerprint<128>::shlor64(uint64_t v) {
 }  // namespace folly
 
 #endif /* FOLLY_FINGERPRINT_H_ */
-