title: C++ What should we pass in MurmurHash3 parameters?
body: <p>I am confused with what parameter should I provide for the MurmurHash3_x86_128(). The murmurhash3 code can be found <a href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp" rel="nofollow">https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp</a>. Method definition is given below. </p>
  
  <pre><code>void MurmurHash3_x86_128 ( const void * key, const int len,
                         uint32_t seed, void * out )
  </code></pre>
  
  <p>I have passed the following values in the above method but my compiler is giving me segmentation fault. What am i doing wrong ?</p>
  
  <pre><code>int main()
  {
      uint64_t seed = 1;
      uint64_t *hash_otpt;
      const char *key = "hi";
      MurmurHash3_x64_128(key, (uint64_t)strlen(key), seed, hash_otpt);
      cout &lt;&lt; "hashed" &lt;&lt; hash_otpt &lt;&lt; endl;
      return 0;
  }
  </code></pre>