From f41910c406bcabc85b3a921885050afb1be543b6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 19 Jul 2024 11:55:33 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/libImaging/BcnEncode.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libImaging/BcnEncode.c b/src/libImaging/BcnEncode.c index 299d22adbab..807f5cafae3 100644 --- a/src/libImaging/BcnEncode.c +++ b/src/libImaging/BcnEncode.c @@ -53,7 +53,8 @@ rgb565_lerp(UINT16 c0, UINT16 c1, UINT8 a_fac, UINT8 b_fac) { return PACK_SHORT_565( (r0 * a_fac + r1 * b_fac) / (a_fac + b_fac), (g0 * a_fac + g1 * b_fac) / (a_fac + b_fac), - (b0 * a_fac + b1 * b_fac) / (a_fac + b_fac)); + (b0 * a_fac + b1 * b_fac) / (a_fac + b_fac) + ); } typedef struct { @@ -82,7 +83,8 @@ pick_2_major_colors( const UINT8 *color_freq, UINT16 color_count, UINT16 *color0, - UINT16 *color1) { + UINT16 *color1 +) { UINT32 i; Color colors[16]; memset(colors, 0, sizeof(colors));