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:
parent
2e4aee0ee7
commit
428925eeee
|
@ -964,7 +964,7 @@ WINE_HIDP_PREPARSED_DATA* build_PreparseData(
|
||||||
if (feature_features[i]->caps.ReportID != wine_report->reportID)
|
if (feature_features[i]->caps.ReportID != wine_report->reportID)
|
||||||
{
|
{
|
||||||
wine_report->dwSize += (sizeof(WINE_HID_ELEMENT) * wine_report->elementCount);
|
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]);
|
new_report(wine_report, feature_features[i]);
|
||||||
data->dwFeatureReportCount++;
|
data->dwFeatureReportCount++;
|
||||||
bitLength = max(bitOffset, bitLength);
|
bitLength = max(bitOffset, bitLength);
|
||||||
|
|
Loading…
Reference in New Issue