diff --git a/src/match_hashed.c b/src/match_hashed.c
index 4d5330503bb82399bcd14855fd90ad31e59c90e8..ee3101a23190c3f2848994ca90ab6900c6eb03a5 100644 (file)
--- a/src/match_hashed.c
+++ b/src/match_hashed.c
for (host_ptr = vl->host; *host_ptr != 0; host_ptr++)
{
/* 2184401929 is some appropriately sized prime number. */
- hash_val = (hash_val * 2184401929) + ((uint32_t) *host_ptr);
+ hash_val = (hash_val * UINT32_C (2184401929)) + ((uint32_t) *host_ptr);
}
DEBUG ("hashed match: host = %s; hash_val = %"PRIu32";", vl->host, hash_val);