From efc19b67f1ec6a2cf9ccfd635cfab4e14520d352 Mon Sep 17 00:00:00 2001 From: Ahmed Date: Wed, 20 May 2026 04:10:05 +0100 Subject: [PATCH] Fix casting error --- examples/renderer/20-blending/blending.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/renderer/20-blending/blending.c b/examples/renderer/20-blending/blending.c index e072659225..b7d0b793dd 100644 --- a/examples/renderer/20-blending/blending.c +++ b/examples/renderer/20-blending/blending.c @@ -112,7 +112,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[]) SDL_BLENDOPERATION_ADD /* A operation := + */ ); - surface = SDL_CreateSurface(RECT_SIZE, RECT_SIZE, SDL_PIXELFORMAT_RGBA8888); + surface = SDL_CreateSurface((int)RECT_SIZE, (int)RECT_SIZE, SDL_PIXELFORMAT_RGBA8888); if (!surface) { SDL_Log("Couldn't create surface: %s", SDL_GetError()); return SDL_APP_FAILURE;