summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcompress
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-06-27 15:22:05 (GMT)
committerDavid Cole <david.cole@kitware.com>2010-06-27 15:22:05 (GMT)
commit415900ba77648c2472bb2022c46136830a627562 (patch)
treeae6ad0c55510934ca89bc88aa2a8f759b14de89a /Utilities/cmcompress
parent4745f4996b73a778f6bdd25669c59b6a6c115fe4 (diff)
downloadCMake-415900ba77648c2472bb2022c46136830a627562.zip
CMake-415900ba77648c2472bb2022c46136830a627562.tar.gz
CMake-415900ba77648c2472bb2022c46136830a627562.tar.bz2
Eliminate -Wconversion warnings.
Change types of local variables, or casting, or re-arrange expressions to get rid of "conversion may alter value" warnings as seen on recent dashboard submissions from londinium.kitware.
Diffstat (limited to 'Utilities/cmcompress')
-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;