ext/digest/murmurhash/1.c in digest-murmurhash-1.1.0 vs ext/digest/murmurhash/1.c in digest-murmurhash-1.1.1
- old
+ new
@@ -43,10 +43,10 @@
VALUE
murmur1_finish(VALUE self)
{
uint8_t digest[4];
- uint64_t h;
+ uint32_t h;
h = _murmur_finish32(self, murmur_hash_process1);
assign_by_endian_32(digest, h);
return rb_str_new((const char*) digest, 4);
}