[gtk+] Fix a compilation warning
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix a compilation warning
- Date: Tue, 20 Oct 2009 18:45:03 +0000 (UTC)
commit 8e70bc988b5fc7589ee949be2f8f768bfd1a173d
Author: Javier Jardón <jjardon gnome org>
Date: Tue Oct 20 04:06:05 2009 +0200
Fix a compilation warning
Use parenthesis in a expression with "&" operator
gdk-pixbuf/io-ani.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/io-ani.c b/gdk-pixbuf/io-ani.c
index 389b2c5..0f42868 100644
--- a/gdk-pixbuf/io-ani.c
+++ b/gdk-pixbuf/io-ani.c
@@ -329,7 +329,7 @@ ani_load_chunk (AniLoaderContext *context, GError **error)
(context->Flags & 0x2) != 0,
(context->Flags & 0x1) != 0);
#endif
- if (!context->Flags & 0x2)
+ if (!(context->Flags & 0x2))
{
g_set_error_literal (error,
GDK_PIXBUF_ERROR,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]