[util] Fix compiler warning

This commit is contained in:
Behdad Esfahbod 2022-12-18 12:57:42 -07:00
parent 955bd30365
commit 9672aa8610
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ interpolate (float f0, float f1, float f)
return f0 + f * (f1 - f0); return f0 + f * (f1 - f0);
} }
void static void
interpolate_colors (color_t *c0, color_t *c1, float k, color_t *c) interpolate_colors (color_t *c0, color_t *c1, float k, color_t *c)
{ {
c->r = c0->r + k * (c1->r - c0->r); c->r = c0->r + k * (c1->r - c0->r);