mirror of
https://github.com/libretro/snes9x.git
synced 2024-11-23 08:19:46 +00:00
Add cast.
This commit is contained in:
parent
568991681d
commit
cd3aba52dd
@ -276,7 +276,7 @@ static void S9xPutImageMetal (int width, int height, uint16 *buffer16)
|
||||
|
||||
if (buffer_size != width * height * 4)
|
||||
{
|
||||
buffer = realloc(buffer, width * height * 4);
|
||||
buffer = (uint8 *)realloc(buffer, width * height * 4);
|
||||
}
|
||||
|
||||
for (int i = 0; i < width * height; ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user