Commits

dwt  committed 65d4ae2

Fix warning because of implicit type conversion

  • Participants
  • Parent commits 298ca0f

Comments (0)

Files changed (1)

File BWStyledTextField.m

 
 - (NSColor *)shadowColor
 {
-	return [[self cell] shadowColor];
+	return (NSColor *)[[self cell] shadowColor];
 }
 
 - (void)setShadowColor:(NSColor *)color
 {
-	[[self cell] setShadowColor:color];
+	[[self cell] setShadowColor:(CGColorRef)color];
 	
 	[self setNeedsDisplay:YES];
 }