summaryrefslogtreecommitdiff
path: root/tests/kms_content_protection.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_content_protection.c')
-rw-r--r--tests/kms_content_protection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index e8002df2..f2047173 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -703,9 +703,9 @@ static void test_content_protection_cleanup(void)
static void create_fbs(void)
{
- igt_output_t *output;
- int width = 0, height = 0;
+ uint16_t width = 0, height = 0;
drmModeModeInfo *mode;
+ igt_output_t *output;
for_each_connected_output(&data.display, output) {
mode = igt_output_get_mode(output);