ref: 43f7087ffb7d2226858db3a599fa2f15e8ffca36
parent: b814890d09674c1f6ee6f42d33fac6612a7132de
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Aug 25 17:30:44 EDT 2019
Shut up a warning in the SDLTexture renderer backend
--- a/src/Backends/Rendering/SDLTexture.cpp
+++ b/src/Backends/Rendering/SDLTexture.cpp
@@ -138,10 +138,10 @@
const unsigned char *src_pixel = surface->pixels;
// Convert the SDL_Surface's colour-keyed pixels to RGBA32
- for (int y = 0; y < surface->height; ++y)
+ for (unsigned int y = 0; y < surface->height; ++y)
{
- for (int x = 0; x < surface->width; ++x)
+ for (unsigned int x = 0; x < surface->width; ++x)
{
*buffer_pointer++ = src_pixel[0];
*buffer_pointer++ = src_pixel[1];