From 673e1b4faf6c9c3c05ae5943daee8206191c0638 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 29 Dec 2015 15:14:41 +0200 Subject: [PATCH] Fixed compilation warning when building with OS X 10.11 SDK The warning was 'null passed to a callee that requires a non-null argument' --- src/posix/cocoa/i_video.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posix/cocoa/i_video.mm b/src/posix/cocoa/i_video.mm index 9fbeb6ffa..3734d938c 100644 --- a/src/posix/cocoa/i_video.mm +++ b/src/posix/cocoa/i_video.mm @@ -1219,7 +1219,7 @@ bool I_SetCursor(FTexture* cursorpic) // Create image from representation and set it as cursor NSData* imageData = [bitmapImageRep representationUsingType:NSPNGFileType - properties:nil]; + properties:[NSDictionary dictionary]]; NSImage* cursorImage = [[NSImage alloc] initWithData:imageData]; cursor = [[NSCursor alloc] initWithImage:cursorImage