From 646bc143f3ece6a97bd551f5a76504ad28c6ec4a Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 4 Aug 2023 16:43:42 +0200 Subject: [PATCH] Fixed a crash-causing signedness mess in the 420EX code. --- src/chipset/intel_420ex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chipset/intel_420ex.c b/src/chipset/intel_420ex.c index f7ffef13d..5200d8834 100644 --- a/src/chipset/intel_420ex.c +++ b/src/chipset/intel_420ex.c @@ -167,7 +167,7 @@ i420ex_drb_recalc(i420ex_t *dev) { uint32_t boundary; - for (uint8_t i = 4; i >= 0; i--) + for (int8_t i = 4; i >= 0; i--) row_disable(i); for (uint8_t i = 0; i <= 4; i++) {