1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-23 07:01:39 +00:00

Fixed compilation warnings on OS X

This commit is contained in:
Virgil Dupras
2013-11-10 12:41:10 -05:00
parent 7594cccf8c
commit 4b6c4f048d
5 changed files with 9 additions and 14 deletions

View File

@@ -113,7 +113,7 @@ MyCreateBitmapContext(int width, int height)
}
context = CGBitmapContextCreate(bitmapData, width, height, 8, bitmapBytesPerRow, colorSpace,
kCGImageAlphaNoneSkipLast);
(CGBitmapInfo)kCGImageAlphaNoneSkipLast);
if (context== NULL) {
free(bitmapData);
fprintf(stderr, "Context not created!");