From fc7173afffb3d1fe45eb5a66be86327c63bd82e8 Mon Sep 17 00:00:00 2001 From: cfr34k Date: Sat, 4 Aug 2018 22:35:42 +0000 Subject: [PATCH] Fixed types --- src/fader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {