From b298dfbe8f1bb33896e3802a02ce5cff002b861f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 4 Jan 2007 14:18:14 +0000 Subject: [PATCH] Fix a compiler warning svn path=/trunk/; revision=17061 --- gdk-pixbuf/ChangeLog | 4 ++++ gdk-pixbuf/io-bmp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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;