Commit cd3aba52 authored by BearOso's avatar BearOso
Browse files

Add cast.

parent 56899168
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment