summaryrefslogtreecommitdiff
path: root/epan/wmem/wmem_map.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-04-23 08:57:43 -0400
committerEvan Huus <eapache@gmail.com>2014-04-23 12:58:53 +0000
commitf0e77aa3667a542a2904da26c29d9f8c0af1d27f (patch)
tree8ef115032399a26ab3addce1a77bd93a48ad7233 /epan/wmem/wmem_map.c
parent9ba4c6e0916a9a40885827864da6353e1572e3b6 (diff)
downloadwireshark-f0e77aa3667a542a2904da26c29d9f8c0af1d27f.tar.gz
Add a cast to satisfy mac buildbot.
Change-Id: I625b025d3f8a57812512497c6104977ae5d10232 Reviewed-on: https://code.wireshark.org/review/1298 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/wmem/wmem_map.c')
-rw-r--r--epan/wmem/wmem_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wmem/wmem_map.c b/epan/wmem/wmem_map.c
index 3413ca8bf0..11b914fbba 100644
--- a/epan/wmem/wmem_map.c
+++ b/epan/wmem/wmem_map.c
@@ -220,7 +220,7 @@ guint32
wmem_strong_hash(const guint8 *buf, const size_t len)
{
const guint8 * const end = (const guint8 *)buf + len;
- guint32 hash = preseed + len;
+ guint32 hash = preseed + (guint32)len;
while (buf < end) {
hash += (hash << 10);