wintrust: Avoid a TRUE:FALSE conditional expression.
This commit is contained in:
parent
8fe8e2f967
commit
a04900df68
|
@ -2342,7 +2342,7 @@ static BOOL WINAPI CRYPT_AsnDecodeBool(DWORD dwCertEncodingType,
|
|||
else
|
||||
{
|
||||
*pcbStructInfo = sizeof(BOOL);
|
||||
*(BOOL *)pvStructInfo = pbEncoded[2] ? TRUE : FALSE;
|
||||
*(BOOL *)pvStructInfo = pbEncoded[2] != 0;
|
||||
ret = TRUE;
|
||||
}
|
||||
TRACE("returning %d (%08x)\n", ret, GetLastError());
|
||||
|
|
Loading…
Reference in New Issue