Fixed unnecessary cast in headers

This commit is contained in:
Armin Novak
2022-01-31 08:38:34 +01:00
committed by akallabeth
parent 0feee85952
commit 92c3fd5d59
3 changed files with 93 additions and 92 deletions

View File

@@ -56,12 +56,12 @@ int TestTypes(int argc, char* argv[])
WINPR_UNUSED(argc);
WINPR_UNUSED(argv);
if (S_OK != (HRESULT)0L)
if (S_OK != 0L)
{
printf("Error: S_OK should be 0\n");
goto err;
}
if (S_FALSE != (HRESULT)1L)
if (S_FALSE != 1L)
{
printf("Error: S_FALSE should be 1\n");
goto err;