mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
dxdiagn: Sign-compare warning fix.
This commit is contained in:
parent
56ba2baa01
commit
b31766fee6
1 changed files with 2 additions and 2 deletions
|
@ -194,8 +194,8 @@ static HRESULT WINAPI IDxDiagContainerImpl_EnumPropNames(PDXDIAGCONTAINER iface,
|
|||
p = This->properties;
|
||||
while (NULL != p) {
|
||||
if (dwIndex == i) {
|
||||
if (cchPropName <= lstrlenW(p->vName)) {
|
||||
return DXDIAG_E_INSUFFICIENT_BUFFER;
|
||||
if (cchPropName <= strlenW(p->vName)) {
|
||||
return DXDIAG_E_INSUFFICIENT_BUFFER;
|
||||
}
|
||||
lstrcpynW(pwszPropName, p->vName, cchPropName);
|
||||
return S_OK;
|
||||
|
|
Loading…
Reference in a new issue