summaryrefslogtreecommitdiff
path: root/hv_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'hv_func.h')
-rw-r--r--hv_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv_func.h b/hv_func.h
index 28b07b9e76..0a66356f7b 100644
--- a/hv_func.h
+++ b/hv_func.h
@@ -392,7 +392,7 @@ S_perl_hash_murmur3(const unsigned char * const seed, const unsigned char *ptr,
/* This CPU does not handle unaligned word access */
/* Consume enough so that the next data byte is word aligned */
- int i = -(long)ptr & 3;
+ int i = -(IV)ptr & 3;
if(i && (STRLEN)i <= len) {
MURMUR_DOBYTES(i, h1, carry, bytes_in_carry, ptr, len);
}