From 0a2e48933d02131115f139765c6e9b0d2908719e Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 2 Jun 2017 10:47:03 +0200 Subject: [PATCH] hid: Increase buffer size to allow 16bit value + space + NUL (GCC7). Signed-off-by: Marcus Meissner Signed-off-by: Aric Stewart Signed-off-by: Alexandre Julliard --- dlls/hid/tests/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/hid/tests/device.c b/dlls/hid/tests/device.c index a4c12ce1feb..ef2f72975d8 100644 --- a/dlls/hid/tests/device.c +++ b/dlls/hid/tests/device.c @@ -183,7 +183,7 @@ static void process_data(HIDP_CAPS Caps, PHIDP_PREPARSED_DATA ppd, CHAR *data, D { for (j=count; j < count+15 && j < usage_length; j++) { - CHAR btn[5]; + CHAR btn[7]; sprintf(btn, "%i ", button_pages[j]); strcat(report, btn); }