From 54fc345ee5dc9bff0a11af556275113c8152fdae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= <13226155+dhrdlicka@users.noreply.github.com> Date: Tue, 2 Sep 2025 10:28:58 +0200 Subject: [PATCH] Fix warning --- src/video/vid_ddc_edid_custom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/vid_ddc_edid_custom.c b/src/video/vid_ddc_edid_custom.c index de037b85e..2febde67e 100644 --- a/src/video/vid_ddc_edid_custom.c +++ b/src/video/vid_ddc_edid_custom.c @@ -98,7 +98,7 @@ ddc_load_edid(char *path, uint8_t *buf, size_t size) return 0; }; - if (temp[0] != 0xEF || temp[1] != 0xBB || temp[2] != 0xBF) { + if ((uint8_t) temp[0] != 0xEF || (uint8_t) temp[1] != 0xBB || (uint8_t) temp[2] != 0xBF) { rewind(fp); }