Some code tweaks

This commit is contained in:
Ray 2021-05-30 11:50:32 +02:00
parent c828e481fb
commit 0369ec9adf
4 changed files with 10 additions and 10 deletions

View file

@ -1354,7 +1354,7 @@ void ImageResize(Image *image, int newWidth, int newHeight)
if (fastPath)
{
int bytesPerPixel = GetPixelDataSize(1, 1, image->format);
unsigned char *output = RL_MALLOC(newWidth*newHeight*bytesPerPixel);
unsigned char *output = (unsigned char *)RL_MALLOC(newWidth*newHeight*bytesPerPixel);
switch (image->format)
{