diff options
Diffstat (limited to 'tests/kms_chamelium.c')
-rw-r--r-- | tests/kms_chamelium.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c index 1ab411ce..11926bbc 100644 --- a/tests/kms_chamelium.c +++ b/tests/kms_chamelium.c @@ -2399,7 +2399,7 @@ static void test_display_planes_random(data_t *data, igt_output_count_plane_type(output, DRM_PLANE_TYPE_OVERLAY); /* Limit the number of planes to a reasonable scene. */ - overlay_planes_max = min(overlay_planes_max, 4); + overlay_planes_max = min(overlay_planes_max, 4u); overlay_planes_count = (rand() % overlay_planes_max) + 1; igt_debug("Using %d overlay planes\n", overlay_planes_count); |