From 1bbdbd4482dee4e110527092ce92d4fcc8b70f24 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 8 Mar 2025 02:09:28 -0800 Subject: [PATCH] Util: Placate Coverity a bit more --- src/util/image.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/image.c b/src/util/image.c index e5ee9f9e2..a6df0e846 100644 --- a/src/util/image.c +++ b/src/util/image.c @@ -904,10 +904,10 @@ uint32_t mColorConvert(uint32_t color, enum mColorFormat from, enum mColorFormat return color; } - int r = 0; - int g = 0; - int b = 0; - int a = 0xFF; + uint32_t r = 0; + uint32_t g = 0; + uint32_t b = 0; + uint32_t a = 0xFF; switch (from) { case mCOLOR_ARGB8: