Added a pointer cast to cdrom/cdrom_mitsumi.c to fix a warning pointed out by lemondrops.
This commit is contained in:
@@ -183,7 +183,7 @@ mitsumi_cdrom_read_sector(mcd_t *dev, int first)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
cdrom_stop(cdrom);
|
cdrom_stop(cdrom);
|
||||||
ret = cdrom_readsector_raw(cdrom, dev->buf, cdrom->seek_pos, 0, 2, 0x10, &dev->readcount);
|
ret = cdrom_readsector_raw(cdrom, dev->buf, cdrom->seek_pos, 0, 2, 0x10, (int *) &dev->readcount);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
return 0;
|
return 0;
|
||||||
if (dev->mode & 0x40) {
|
if (dev->mode & 0x40) {
|
||||||
|
Reference in New Issue
Block a user