mirror of https://github.com/snes9xgit/snes9x.git
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