From 3e2479c095845bf09088ce1eb9c92f1c21d38588 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 26 May 2012 23:17:59 +0200 Subject: [PATCH] Fixed a bug in yet unused code which was introduced by rev 965. --- libisofs/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/image.c b/libisofs/image.c index c55d285..f1ef90d 100644 --- a/libisofs/image.c +++ b/libisofs/image.c @@ -691,7 +691,7 @@ int iso_image_hfsplus_bless(IsoImage *img, enum IsoHfsplusBlessings blessing, if (flag & 1) { /* Delete a particular blessing */ if (img->hfsplus_blessed[blessing] == node || node == NULL) { - unset_blessing(img, i); + unset_blessing(img, (unsigned int) blessing); return 1; } return 0;