Fixed a warning in cdrom/cdrom_image_backend.c.

This commit is contained in:
OBattler
2020-12-12 16:28:04 +01:00
parent 12a78cb2f4
commit 9d6f6b38ea

View File

@@ -425,8 +425,8 @@ int
cdi_read_sectors(cd_img_t *cdi, uint8_t *buffer, int raw, uint32_t sector, uint32_t num)
{
int sector_size, success = 1;
uint8_t buf_len, *buf;
uint32_t i;
uint8_t *buf;
uint32_t buf_len, i;
/* TODO: This fails to account for Mode 2. Shouldn't we have a function
to get sector size? */