summaryrefslogtreecommitdiff
path: root/Spooky.h
diff options
context:
space:
mode:
authortanjent@gmail.com <tanjent@gmail.com@77a7d1d3-4c08-bdc2-d393-d5859734b01a>2012-03-01 06:06:01 +0000
committertanjent@gmail.com <tanjent@gmail.com@77a7d1d3-4c08-bdc2-d393-d5859734b01a>2012-03-01 06:06:01 +0000
commitdd462f2c6817d4e09a6ecd99f35e3a04c342afb2 (patch)
tree9641e8b99a224b3c1b2eccf52ff530a6a7cdf29c /Spooky.h
parentf3b789787b93945c974e2cc517b7dc352b28354e (diff)
downloadsrc-dd462f2c6817d4e09a6ecd99f35e3a04c342afb2.tar.gz
Add #include "Platform.h" to fix Windows build
remove CXX_FLAGS, which make Visual Studio complain Widen sanity test out of paranoia. Fix typo in g_hashes reference to SpookyHash Remove Visual Studio-specific .sln & .vcproj files git-svn-id: http://smhasher.googlecode.com/svn/trunk@145 77a7d1d3-4c08-bdc2-d393-d5859734b01a
Diffstat (limited to 'Spooky.h')
-rw-r--r--Spooky.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Spooky.h b/Spooky.h
index cafd52e..047335d 100644
--- a/Spooky.h
+++ b/Spooky.h
@@ -24,6 +24,7 @@
// slower than MD5.
//
+#include "Platform.h"
#include <stddef.h>
#ifdef _MSC_VER
@@ -281,7 +282,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 sc_const = 0xdeadbeefdeadbeefLL;
+ static const uint64 sc_const = 0xdeadbeefdeadbeefULL;
uint64 m_data[2*sc_numVars]; // unhashed data, for partial messages
uint64 m_state[sc_numVars]; // internal state of the hash