From ca81cc071b9c179082014edd5285e76d11d101ae Mon Sep 17 00:00:00 2001 From: winesync Date: Fri, 5 Jan 2024 16:47:03 +0100 Subject: [PATCH] [WINESYNC] setupapi: Use BOOL type where appropriate. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit wine commit id 9c76ccfda124ca471b3de4d8a04aed1e15a6b9f2 by Frédéric Delanoy --- dll/win32/setupapi/devinst.c | 2 +- sdk/tools/winesync/setupapi.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dll/win32/setupapi/devinst.c b/dll/win32/setupapi/devinst.c index bbeb21997d5..5ded385a717 100644 --- a/dll/win32/setupapi/devinst.c +++ b/dll/win32/setupapi/devinst.c @@ -2926,7 +2926,7 @@ BOOL WINAPI SetupDiDestroyDeviceInfoList(HDEVINFO devinfo) } } - if (ret == FALSE) + if (!ret) SetLastError(ERROR_INVALID_HANDLE); return ret; diff --git a/sdk/tools/winesync/setupapi.cfg b/sdk/tools/winesync/setupapi.cfg index dd0fc8bdff3..497fef193d9 100644 --- a/sdk/tools/winesync/setupapi.cfg +++ b/sdk/tools/winesync/setupapi.cfg @@ -5,4 +5,4 @@ files: dlls/setupapi/misc.c: dll/win32/setupapi/misc.c dlls/setupapi/stubs.c: dll/win32/setupapi/stubs.c tags: - wine: bdadd760a3b0685d828a3cfa09ed8a82df72e48c + wine: 9c76ccfda124ca471b3de4d8a04aed1e15a6b9f2