Commit b298dfbe authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Fix a compiler warning

svn path=/trunk/; revision=17061
parent 1d5fdd62
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
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment