Commit 428925ee authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 2e4aee0e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment