hidclass.sys: Fix a misplaced closing bracket (PVS-Studio).

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2015-10-13 00:28:11 +02:00 committed by Alexandre Julliard
parent 2e4aee0ee7
commit 428925eeee
1 changed files with 1 additions and 1 deletions

View File

@ -964,7 +964,7 @@ WINE_HIDP_PREPARSED_DATA* build_PreparseData(
if (feature_features[i]->caps.ReportID != wine_report->reportID)
{
wine_report->dwSize += (sizeof(WINE_HID_ELEMENT) * wine_report->elementCount);
wine_report = (WINE_HID_REPORT*)((BYTE*)wine_report)+wine_report->dwSize;
wine_report = (WINE_HID_REPORT*)((BYTE*)wine_report+wine_report->dwSize);
new_report(wine_report, feature_features[i]);
data->dwFeatureReportCount++;
bitLength = max(bitOffset, bitLength);