shithub: cstory

Download patch

ref: 22dc6836c59e5bb752d0a8da02494ec2dfa50d3d
parent: 56adcd9dfed785491f1db7a0049fc2e9c16bc526
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Aug 14 13:57:19 EDT 2019

Shut up a warning

--- a/src/Backends/Rendering/SDLTexture.cpp
+++ b/src/Backends/Rendering/SDLTexture.cpp
@@ -294,7 +294,7 @@
 	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]);