mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 09:21:31 +00:00
**** NOTE: A lstrlenW -> strlenW change done in SetupDiGetDeviceInstanceIdW
[WINESYNC] setupapi: Sign-compare warnings fix. wine commit id 1c64c934db07bf9e6431ee43c6e9a53e58c78120 by Andrew Talbot <andrew.talbot@talbotville.com>
This commit is contained in:
parent
14c7d90b7a
commit
29da75098f
|
@ -1941,7 +1941,7 @@ BOOL WINAPI SetupDiGetDeviceInstanceIdW(
|
|||
return FALSE;
|
||||
}
|
||||
TRACE("instance ID: %s\n", debugstr_w(devInfo->instanceId));
|
||||
if (DeviceInstanceIdSize < lstrlenW(devInfo->instanceId) + 1)
|
||||
if (DeviceInstanceIdSize < strlenW(devInfo->instanceId) + 1)
|
||||
{
|
||||
SetLastError(ERROR_INSUFFICIENT_BUFFER);
|
||||
if (RequiredSize)
|
||||
|
|
|
@ -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: 23f54c939b7ab2a9f405b12b920a76ab9c542a86
|
||||
wine: 1c64c934db07bf9e6431ee43c6e9a53e58c78120
|
||||
|
|
Loading…
Reference in a new issue