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; }