Skip to content

Instantly share code, notes, and snippets.

@yashi
Created April 20, 2012 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yashi/2430822 to your computer and use it in GitHub Desktop.
Save yashi/2430822 to your computer and use it in GitHub Desktop.
define SIZEOF_ST_INDEX_T
diff --git a/src/st.c b/src/st.c
index c4bbc70..49ef31b 100644
--- a/src/st.c
+++ b/src/st.c
@@ -963,6 +963,8 @@ strhash(st_data_t arg)
#define MURMUR 2
#endif
+#define SIZEOF_ST_INDEX_T __WORDSIZE
+
#if MURMUR == 1
#define MurmurMagic 0xc6a4a793
#elif MURMUR == 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment