From 6672e0d55810a7447fd06ef1113ad88473ba7538 Mon Sep 17 00:00:00 2001 From: Abhi Beckert Date: Sun, 3 Apr 2016 10:06:33 +1000 Subject: fix various compile warnings --- Frameworks/PSMTabBar/PSMTabDragAssistant.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Frameworks/PSMTabBar/PSMTabDragAssistant.m') diff --git a/Frameworks/PSMTabBar/PSMTabDragAssistant.m b/Frameworks/PSMTabBar/PSMTabDragAssistant.m index f10eadd4..a0c694a3 100644 --- a/Frameworks/PSMTabBar/PSMTabDragAssistant.m +++ b/Frameworks/PSMTabBar/PSMTabDragAssistant.m @@ -321,7 +321,6 @@ static PSMTabDragAssistant *sharedDragAssistant = nil; } imageSize = [image size]; - [image setScalesWhenResized:YES]; if (imageSize.width > imageSize.height) { [image setSize:NSMakeSize(125, 125 * (imageSize.height / imageSize.width))]; @@ -657,7 +656,7 @@ static PSMTabDragAssistant *sharedDragAssistant = nil; - (NSImage *)_imageForViewOfCell:(PSMTabBarCell *)cell styleMask:(NSUInteger *)outMask { - PSMTabBarControl *control = [cell controlView]; + PSMTabBarControl *control = (PSMTabBarControl *)[cell controlView]; NSImage *viewImage = nil; if (outMask) { -- cgit v1.2.3