From: Grigori Goronzy Date: Thu, 8 Oct 2009 21:35:06 +0000 (+0200) Subject: Remove superfluous cast X-Git-Tag: 0.9.9~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29b5f2cc548a9c68a4855c6c85ac38aa25561f25;p=libass Remove superfluous cast --- diff --git a/libass/ass_parse.c b/libass/ass_parse.c index 8c43d0b..fb407bf 100644 --- a/libass/ass_parse.c +++ b/libass/ass_parse.c @@ -163,7 +163,7 @@ static void change_color(uint32_t *var, uint32_t new, double pwr) inline void change_alpha(uint32_t *var, uint32_t new, double pwr) { *var = - (uint32_t) (_r(*var) << 24) + (_g(*var) << 16) + (_b(*var) << 8) + + (_r(*var) << 24) + (_g(*var) << 16) + (_b(*var) << 8) + (uint32_t) (_a(*var) * (1 - pwr) + _a(new) * pwr); }