diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-08-14 15:32:35 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-08-14 15:32:35 (GMT) |
commit | 97f1c2b5f0d5f2356dbc1007685d6366b5ff5151 (patch) | |
tree | 2c2105aa4c41db8cd5c2c8782c016632d5050bb8 /Utilities | |
parent | 622a22a92112acf017fe1a24bd0f6df49699e8e2 (diff) | |
download | CMake-97f1c2b5f0d5f2356dbc1007685d6366b5ff5151.zip CMake-97f1c2b5f0d5f2356dbc1007685d6366b5ff5151.tar.gz CMake-97f1c2b5f0d5f2356dbc1007685d6366b5ff5151.tar.bz2 |
COMP: Remove warnings
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 dbc2640..9417de5 100644 --- a/Utilities/cmcompress/cmcompress.c +++ b/Utilities/cmcompress/cmcompress.c @@ -439,7 +439,7 @@ int output(struct cmcompress_stream* cdata, code_int code) * Since code is always >= 8 bits, only need to mask the first * hunk on the left. */ - *bp = (*bp & rmask[r_off]) | ((code << r_off) & lmask[r_off]); + *bp = (char)((*bp & rmask[r_off]) | ((code << r_off) & lmask[r_off])); bp++; bits -= (8 - r_off); code >>= 8 - r_off; |