From 22dc6836c59e5bb752d0a8da02494ec2dfa50d3d Mon Sep 17 00:00:00 2001 From: Clownacy Date: Wed, 14 Aug 2019 17:57:19 +0000 Subject: [PATCH] Shut up a warning --- src/Backends/Rendering/SDLTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Backends/Rendering/SDLTexture.cpp b/src/Backends/Rendering/SDLTexture.cpp index f5998ccf..0166a970 100644 --- a/src/Backends/Rendering/SDLTexture.cpp +++ b/src/Backends/Rendering/SDLTexture.cpp @@ -294,7 +294,7 @@ void Backend_DrawGlyph(Backend_Surface *surface, Backend_Glyph *glyph, long x, l if (glyph == NULL || surface == NULL) return; - SDL_Rect destination_rect = {(int)x, (int)y, glyph->width, glyph->height}; + SDL_Rect destination_rect = {(int)x, (int)y, (int)glyph->width, (int)glyph->height}; // Blit the texture SDL_SetTextureColorMod(glyph->texture, colours[0], colours[1], colours[2]);