Silenced a warning about const or non-const.
This commit is contained in:
parent
b07d3ab0c3
commit
2a087f6f39
@ -260,7 +260,7 @@ static int make_mips_volume_header(Ecma119Image *t, uint8_t *buf, int flag)
|
|||||||
|
|
||||||
/* >>> skip non-MIPS boot images */;
|
/* >>> skip non-MIPS boot images */;
|
||||||
|
|
||||||
namept = iso_node_get_name(
|
namept = (char *) iso_node_get_name(
|
||||||
(IsoNode *) t->catalog->bootimages[idx]->image);
|
(IsoNode *) t->catalog->bootimages[idx]->image);
|
||||||
name_field = (char *) (buf + (72 + 16 * idx));
|
name_field = (char *) (buf + (72 + 16 * idx));
|
||||||
strncpy(name_field, namept, 8);
|
strncpy(name_field, namept, 8);
|
||||||
|
Loading…
Reference in New Issue
Block a user