From b97d6816c892a4124668b3d67f5910a39f15ea40 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 4 Aug 2008 23:38:06 +0000 Subject: [PATCH] Enclose ?: expression with parens so cast covers all of it. 2008-08-05 Tor Lillqvist * gtk/updateiconcache.c (write_bucket): Enclose ?: expression with parens so cast covers all of it. svn path=/trunk/; revision=20996 --- ChangeLog | 5 +++++ gtk/updateiconcache.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a6a10c45ce..0ec0758c23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-08-05 Tor Lillqvist + + * gtk/updateiconcache.c (write_bucket): Enclose ?: expression + with parens so cast covers all of it. + 2008-08-04 Matthias Clasen * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really diff --git a/gtk/updateiconcache.c b/gtk/updateiconcache.c index 0f5577a25b..f61291ef12 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; }