Reacted on -Wextra -Wno-unused-parameter warnings of gcc for make_isohybrid_mbr.c

This commit is contained in:
Thomas Schmitt 2011-05-21 23:15:19 +02:00
parent 071e14f9b0
commit 228995c148

View File

@ -424,7 +424,7 @@ int make_isolinux_mbr(int32_t *img_blocks, uint32_t boot_lba,
/* # Offset 446
*/
for (part = 1 ; part <= 4; part++) {
if (part != part_number) {
if ((int) part != part_number) {
/* if this_partition != partition_number: write 16 zero bytes */
memset(wpt, 0, 16);
wpt+= 16;