Fix warnings in raylib (#3793)
This commit is contained in:
parent
dd8b5613ca
commit
4cd71a9750
3 changed files with 6 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue