SDL: testevdev: Allow device properties to be fully populated

From a4ce721d7a3c9b6062d172192edb82b71836f0a2 Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Fri, 16 Jun 2023 15:15:31 +0100
Subject: [PATCH] testevdev: Allow device properties to be fully populated

The props array was too small for the highest property bits to be set,
although in practice this didn't matter since only the lower-order bits
have a meaning. Make it consistent with all the others.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 test/testevdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/testevdev.c b/test/testevdev.c
index af01d3d4e247..0ab85aefd294 100644
--- a/test/testevdev.c
+++ b/test/testevdev.c
@@ -73,7 +73,7 @@ typedef struct
     uint8_t abs[(ABS_MAX + 1) / 8];
     uint8_t rel[(REL_MAX + 1) / 8];
     uint8_t ff[(FF_MAX + 1) / 8];
-    uint8_t props[INPUT_PROP_MAX / 8];
+    uint8_t props[(INPUT_PROP_MAX + 1) / 8];
     int expected;
     const char *todo;
     size_t hid_report_descriptor_length;