diff --git a/src/fader.c b/src/fader.c index 6723aec..8c42007 100644 --- a/src/fader.c +++ b/src/fader.c @@ -89,7 +89,7 @@ void fader_set_fadestep(struct fader_ctx *ctx, uint8_t newFadestep) * \param target The target value that should be reached. * \param changed Output value which is set to 1 if cur was changed. */ -void fade_colour(struct fader_ctx *ctx, float *cur, const float *target, int *changed) +void fade_colour(struct fader_ctx *ctx, float *cur, const float *target, uint8_t *changed) { float diff; if(*cur > *target) {