Changeset: 1939294a7b38 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1939294a7b38
Modified Files:
monetdb5/modules/mal/pp_hash.h
Branch: default
Log Message:
use properly sized type
diffs (12 lines):
diff --git a/monetdb5/modules/mal/pp_hash.h b/monetdb5/modules/mal/pp_hash.h
--- a/monetdb5/modules/mal/pp_hash.h
+++ b/monetdb5/modules/mal/pp_hash.h
@@ -123,7 +123,7 @@ static inline lng
str_hsh( str v )
{
// Source: https://github.com/aappleby/smhasher/blob/master/src/Hashes.cpp
- oid h = 2166136261UL;
+ ulng h = 2166136261UL;
const uint8_t* data = (const uint8_t*)v;
for (int i = 0; data[i]; i++) {
h ^= data[i];
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]