]> Pileus Git - ~andy/gtk/commitdiff
Fix a compiler warning
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 4 Jan 2007 14:18:14 +0000 (14:18 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 4 Jan 2007 14:18:14 +0000 (14:18 +0000)
svn path=/trunk/; revision=17061

gdk-pixbuf/ChangeLog
gdk-pixbuf/io-bmp.c

index 81cb1cff791c8ef92df55e38d48893622a7d744c..043da1d8c2e80d42ba1f48a072f7daac21622741 100644 (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
index 13d9738013eef38639c8f8785308424bfdeed2eb..0e72e599c56a8e989469ae7f462af781a2a4d36b 100644 (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;