hid: Increase buffer size to allow 16bit value + space + NUL (GCC7).

Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Marcus Meissner 2017-06-02 10:47:03 +02:00 committed by Alexandre Julliard
parent 082e498163
commit 0a2e48933d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}