diff options
author | hbono@chromium.org <hbono@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2011-08-15 06:52:21 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2011-08-15 06:52:21 +0000 |
commit | 538d9fdfaa6b768ad53ed57fe487ca61aff13e3c (patch) | |
tree | 9c995f1aff10302710d13154380d11c2a2d5a5c7 /jdarith.c | |
parent | 7101b2d94bfd6768e0942616f2eda2dc718feb9c (diff) |
Reapply warning fixes.
This change just reapply warning fixes that I forgot reapplying when I updated libjpeg-turbo to 1.1.90.
BUG=none
TEST=build libjpeg-turbo without warnings.
Review URL: http://codereview.chromium.org/7633058
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@96750 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Diffstat (limited to 'jdarith.c')
-rw-r--r-- | jdarith.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -150,8 +150,8 @@ arith_decode (j_decompress_ptr cinfo, unsigned char *st) */ sv = *st; qe = jpeg_aritab[sv & 0x7F]; /* => Qe_Value */ - nl = qe & 0xFF; qe >>= 8; /* Next_Index_LPS + Switch_MPS */ - nm = qe & 0xFF; qe >>= 8; /* Next_Index_MPS */ + nl = (unsigned char) qe & 0xFF; qe >>= 8; /* Next_Index_LPS + Switch_MPS */ + nm = (unsigned char) qe & 0xFF; qe >>= 8; /* Next_Index_MPS */ /* Decode & estimation procedures per sections D.2.4 & D.2.5 */ temp = e->a - qe; |