diff options
author | David Cole <david.cole@kitware.com> | 2010-06-27 15:22:05 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2010-06-27 15:22:05 (GMT) |
commit | 415900ba77648c2472bb2022c46136830a627562 (patch) | |
tree | ae6ad0c55510934ca89bc88aa2a8f759b14de89a /Utilities | |
parent | 4745f4996b73a778f6bdd25669c59b6a6c115fe4 (diff) | |
download | CMake-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')
-rw-r--r-- | Utilities/cmcompress/cmcompress.c | 2 |
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; |