Browse files

Fix a warning

  • Loading branch information...
1 parent cf6ceff commit 3475253903744655f481c98a0a6c6758acd759df Laurin committed Feb 1, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 KGNoise.m
View
2 KGNoise.m
@@ -11,8 +11,10 @@
static NSUInteger const kImageSize = 128;
#if TARGET_OS_IPHONE
+static CGFloat *gradientComponentsForColors(UIColor *color1, UIColor *color2);
static CGFloat *gradientComponentsForColors(UIColor *color1, UIColor *color2){
#else
+static CGFloat *gradientComponentsForColors(NSColor *color1, NSColor *color2);
static CGFloat *gradientComponentsForColors(NSColor *color1, NSColor *color2){
#endif
CGFloat *components = malloc(8*sizeof(CGFloat));

0 comments on commit 3475253

Please sign in to comment.