diff options
| author | Jeffery Myers <[email protected]> | 2024-02-10 11:02:05 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-10 20:02:05 +0100 |
| commit | 4cd71a975086fa3be3b28d765e45c4bb7dc4e101 (patch) | |
| tree | e8cd9a2a8674804bdd14c1f8a76c1f1887874fcd /src/rtextures.c | |
| parent | dd8b5613cab0d62a2464be5e3b45e835adedea0c (diff) | |
| download | raylib-4cd71a975086fa3be3b28d765e45c4bb7dc4e101.tar.gz raylib-4cd71a975086fa3be3b28d765e45c4bb7dc4e101.zip | |
Fix warnings in raylib (#3793)
Diffstat (limited to 'src/rtextures.c')
| -rw-r--r-- | src/rtextures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtextures.c b/src/rtextures.c index 9fc94c1f..bf87eabc 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -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; |
