From fb69b39d548ffa3c4e89daea2dc08c09f2c3da8d Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Mon, 11 Nov 2024 10:46:54 -0800 Subject: [PATCH] Fix a typecast warning in glfw clipboard access (#4479) --- src/platforms/rcore_desktop_glfw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/rcore_desktop_glfw.c b/src/platforms/rcore_desktop_glfw.c index e765debc1cbf..061fe72ca36d 100644 --- a/src/platforms/rcore_desktop_glfw.c +++ b/src/platforms/rcore_desktop_glfw.c @@ -988,7 +988,7 @@ Image GetClipboardImage(void) } else { - image = LoadImageFromMemory(".bmp", fileData, dataSize); + image = LoadImageFromMemory(".bmp", fileData, (int)dataSize); } return image; }