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
This commit is contained in:
Tor Lillqvist 2008-08-04 23:38:06 +00:00 committed by Tor Lillqvist
parent 785b5f1b3f
commit b97d6816c8
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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;
}