diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 81cb1cff79..043da1d8c2 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,7 @@ +2007-01-04 Matthias Clasen + + * io-bmp.c (OneLine32): Fix a warning + 2006-12-22 Matthias Clasen * io-bmp.c (decode_bitmasks): Handle bmps diff --git a/gdk-pixbuf/io-bmp.c b/gdk-pixbuf/io-bmp.c index 13d9738013..0e72e599c5 100644 --- a/gdk-pixbuf/io-bmp.c +++ b/gdk-pixbuf/io-bmp.c @@ -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;