Add cast.

This commit is contained in:
BearOso 2022-04-10 18:20:59 -05:00
parent 568991681d
commit cd3aba52dd
1 changed files with 1 additions and 1 deletions

View File

@ -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)