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>
This commit is contained in:
Evan Huus 2014-04-23 08:57:43 -04:00
parent 9ba4c6e091
commit f0e77aa366
1 changed files with 1 additions and 1 deletions

View File

@ -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);