From a6d6c03a58f1f0c4f04111d7b22e6d4102fc29bf Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 27 Sep 2025 00:22:39 +0200 Subject: [PATCH] fix compiler warning --- src/v_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v_video.c b/src/v_video.c index 17b6a22ba..1522d9fd9 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -615,7 +615,7 @@ static void CV_constextsize_OnChange(void) void VID_BlitLinearScreen(const UINT8 *srcptr, UINT8 *destptr, INT32 width, INT32 height, size_t srcrowbytes, size_t destrowbytes) { - if (srcrowbytes == destrowbytes && srcrowbytes == width) + if (srcrowbytes == destrowbytes && srcrowbytes == (size_t)width) { size_t i = srcrowbytes * height; #if defined(__SSE__)