summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2008-08-04 23:38:06 +0000
committerTor Lillqvist <tml@src.gnome.org>2008-08-04 23:38:06 +0000
commitb97d6816c892a4124668b3d67f5910a39f15ea40 (patch)
tree57e8b6e5df7226d4ca87b578a3e9cc61eae03553
parent785b5f1b3f36eefeca6e53223e50fd894b0b20a8 (diff)
downloadgdk-pixbuf-b97d6816c892a4124668b3d67f5910a39f15ea40.tar.gz
Enclose ?: expression with parens so cast covers all of it.
2008-08-05 Tor Lillqvist <tml@novell.com> * gtk/updateiconcache.c (write_bucket): Enclose ?: expression with parens so cast covers all of it. svn path=/trunk/; revision=20996
-rw-r--r--ChangeLog5
-rw-r--r--gtk/updateiconcache.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a6a10c45c..0ec0758c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-05 Tor Lillqvist <tml@novell.com>
+
+ * gtk/updateiconcache.c (write_bucket): Enclose ?: expression
+ with parens so cast covers all of it.
+
2008-08-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really
diff --git a/gtk/updateiconcache.c b/gtk/updateiconcache.c
index 0f5577a25..f61291ef1 100644
--- a/gtk/updateiconcache.c
+++ b/gtk/updateiconcache.c
@@ -1201,7 +1201,7 @@ write_bucket (FILE *cache, HashNode *node, int *offset)
}
else
{
- if (!write_card32 (cache, (guint32) image->image_data ? image->image_data->offset : 0))
+ if (!write_card32 (cache, (guint32) (image->image_data ? image->image_data->offset : 0)))
return FALSE;
}