mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Fix many warnings about implicit integer conversions when compiling for 64 bits.
--HG-- branch : minor
This commit is contained in:
@@ -129,8 +129,8 @@ ImageIOHandler::DecodedImage ImageIOHandler::decode(love::filesystem::FileData *
|
||||
if (!image)
|
||||
throw love::Exception("Could not decode image!");
|
||||
|
||||
img.width = CGImageGetWidth(image);
|
||||
img.height = CGImageGetHeight(image);
|
||||
img.width = (int) CGImageGetWidth(image);
|
||||
img.height = (int) CGImageGetHeight(image);
|
||||
|
||||
CGImageAlphaInfo alphainfo = CGImageGetAlphaInfo(image);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user