Silenced a warning about const or non-const.

This commit is contained in:
Thomas Schmitt 2010-10-12 12:23:16 +02:00
parent b07d3ab0c3
commit 2a087f6f39

View File

@ -260,8 +260,8 @@ static int make_mips_volume_header(Ecma119Image *t, uint8_t *buf, int flag)
/* >>> skip non-MIPS boot images */;
namept = iso_node_get_name(
(IsoNode *) t->catalog->bootimages[idx]->image);
namept = (char *) iso_node_get_name(
(IsoNode *) t->catalog->bootimages[idx]->image);
name_field = (char *) (buf + (72 + 16 * idx));
strncpy(name_field, namept, 8);
iso_msb(buf + (72 + 16 * idx) + 8,