Merge pull request #24 from heitbaum/patch-1

Recast to target type
This commit is contained in:
LibretroAdmin 2024-06-28 18:00:14 -05:00 committed by GitHub
commit ea37046ca1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -668,7 +668,7 @@ void platform_disk_init(disk_t *disks) {
if (disk_size[i]) {
disks[i].length = disk_size[i];
disks[i].ro = 0;
disks[i].image = diskptr;
disks[i].image = (short unsigned int *)diskptr;
} else {
disks[i].length = 0;
disks[i].ro = 0;