From 6da105da5649820a6f7c48c04e3188beaef7f0da Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 20 Jul 2014 14:56:25 -0400 Subject: Resolved NSMakeRect() argument casting TODO in sizing_darwin.m. --- redo/sizing_darwin.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'redo') diff --git a/redo/sizing_darwin.m b/redo/sizing_darwin.m index cf93f0d..b379465 100644 --- a/redo/sizing_darwin.m +++ b/redo/sizing_darwin.m @@ -8,6 +8,5 @@ void moveControl(id c, intptr_t x, intptr_t y, intptr_t width, intptr_t height) { - // TODO appropriate casts - [toNSView(c) setFrame:NSMakeRect(x, y, width, height)]; + [toNSView(c) setFrame:NSMakeRect((CGFloat) x, (CGFloat) y, (CGFloat) width, (CGFloat) height)]; } -- cgit v1.2.3