Fix warnings in raylib (#3793)

This commit is contained in:
Jeffery Myers
2024-02-10 11:02:05 -08:00
committed by GitHub
parent dd8b5613ca
commit 4cd71a9750
3 changed files with 6 additions and 4 deletions

View File

@@ -2191,7 +2191,7 @@ void ImageKernelConvolution(Image *image, float* kernel, int kernelSize)
int ykabs = yk + kernelWidth/2;
unsigned int imgindex = image->width*(x + xk) + (y + yk);
if (imgindex >= image->width*image->height)
if (imgindex >= (unsigned int)(image->width*image->height))
{
temp[kernelWidth * xkabs + ykabs].x = 0.0f;
temp[kernelWidth * xkabs + ykabs].y = 0.0f;