From 428925eeeea23366ce6346d473c47fdd7a6302d7 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 13 Oct 2015 00:28:11 +0200 Subject: [PATCH] hidclass.sys: Fix a misplaced closing bracket (PVS-Studio). Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/hidclass.sys/descriptor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/hidclass.sys/descriptor.c b/dlls/hidclass.sys/descriptor.c index ac9b047f57f..13ac99bf741 100644 --- a/dlls/hidclass.sys/descriptor.c +++ b/dlls/hidclass.sys/descriptor.c @@ -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);