Browse Source

Fix a typecast warning in glfw clipboard access (#4479)

pull/4485/head
Jeffery Myers 8 months ago
committed by GitHub
parent
commit
fb69b39d54
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/platforms/rcore_desktop_glfw.c

+ 1
- 1
src/platforms/rcore_desktop_glfw.c View File

@ -988,7 +988,7 @@ Image GetClipboardImage(void)
} }
else else
{ {
image = LoadImageFromMemory(".bmp", fileData, dataSize);
image = LoadImageFromMemory(".bmp", fileData, p">(int)dataSize);
} }
return image; return image;
} }

Loading…
Cancel
Save