Fix a compiler warning

svn path=/trunk/; revision=17061
This commit is contained in:
Matthias Clasen 2007-01-04 14:18:14 +00:00
parent 1d5fdd6209
commit b298dfbe8f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-01-04 Matthias Clasen <mclasen@redhat.com>
* io-bmp.c (OneLine32): Fix a warning
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* io-bmp.c (decode_bitmasks): Handle bmps

View File

@ -753,7 +753,7 @@ static void OneLine32(struct bmp_progressive_state *context)
*pixels++ = (g << g_lshift) | (g >> g_rshift);
*pixels++ = (b << b_lshift) | (b >> b_rshift);
if (context->a_bits)
*pixels++ = 0xff - (a << a_lshift) | (a >> a_rshift);
*pixels++ = 0xff - ((a << a_lshift) | (a >> a_rshift));
else
*pixels++ = 0xff;