summaryrefslogtreecommitdiffstats
path: root/src/crc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crc.c')
-rw-r--r--src/crc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crc.c b/src/crc.c
index b1faa6c..0d1b268 100644
--- a/src/crc.c
+++ b/src/crc.c
@@ -95,7 +95,7 @@ unsigned int get_crc32(const void*buf, const unsigned int len, const uint32_t se
{
crc32val = crc32_tab[(crc32val ^ s[i]) & 0xff] ^ (crc32val >> 8);
}
- return crc32val;
+ return (unsigned int)crc32val;
}
#if 0