From 78b4f0eb683274f065379c3e27bec1416fd15b41 Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Wed, 28 Sep 2022 02:44:35 +0200 Subject: [PATCH] edid: use the correct definition for maximum standard timings Signed-off-by: Sebastian Wick --- edid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edid.c b/edid.c index 5215914..af55f02 100644 --- a/edid.c +++ b/edid.c @@ -726,7 +726,7 @@ parse_standard_timings_descriptor(struct di_edid *edid, if (!parse_standard_timing(edid, timing_data, &t)) return false; if (t) { - assert(desc->standard_timings_len < EDID_MAX_STANDARD_TIMING_COUNT); + assert(desc->standard_timings_len < EDID_MAX_DESCRIPTOR_STANDARD_TIMING_COUNT); desc->standard_timings[desc->standard_timings_len++] = t; } }