# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1303448498 0 # Node ID f47d5fa72f84fc2cc910288f25157eabd2684388 # Parent 2ab67f71b50f35281ca25a8dfe96f266af91d194 Fixed a clang warning. diff -r 2ab67f71b50f -r f47d5fa72f84 mac/dw.m --- a/mac/dw.m Fri Apr 22 04:56:59 2011 +0000 +++ b/mac/dw.m Fri Apr 22 05:01:38 2011 +0000 @@ -5870,7 +5870,7 @@ pixmap->width = width; pixmap->height = height; pixmap->handle = handle; - id image = pixmap->image = [[NSBitmapImageRep alloc] + pixmap->image = [[NSBitmapImageRep alloc] initWithBitmapDataPlanes:NULL pixelsWide:width pixelsHigh:height