Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PSMTabBarControl/source/NSBezierPath_AMShading.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

@implementation NSBezierPath (AMShading)

static void linearShadedColor(void *info, const float *in, float *out)
static void linearShadedColor(void * __nullable info, const double *in, double *out)
{
float *colors = info;
*out++ = colors[0] + *in * colors[8];
Expand All @@ -20,7 +20,7 @@ static void linearShadedColor(void *info, const float *in, float *out)
*out++ = colors[3] + *in * colors[11];
}

static void bilinearShadedColor(void *info, const float *in, float *out)
static void bilinearShadedColor(void * __nullable info, const double *in, double *out)
{
float *colors = info;
float factor = (*in)*2.0;
Expand Down