summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcompress/cmcompress.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcompress/cmcompress.c')
-rw-r--r--Utilities/cmcompress/cmcompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcompress/cmcompress.c b/Utilities/cmcompress/cmcompress.c
index 59978f6..ea845ed 100644
--- a/Utilities/cmcompress/cmcompress.c
+++ b/Utilities/cmcompress/cmcompress.c
@@ -454,7 +454,7 @@ int cmcompress_compress(struct cmcompress_stream* cdata, void* buff, size_t n)
{
goto nomatch;
}
- disp = cdata->hsize_reg - i; /* secondary hash (after G. Knott) */
+ disp = (int)(cdata->hsize_reg - i); /* secondary hash (after G. Knott) */
if ( i == 0 )
{
disp = 1;