Fixed compiler warnings
This commit is contained in:
parent
b0c924a98e
commit
2479ebd816
@ -392,7 +392,6 @@ static void rdpdr_dump_packet(wLog* log, DWORD lvl, wStream* s, const char* cust
|
||||
case PAKID_CORE_CLIENT_CAPABILITY:
|
||||
case PAKID_CORE_SERVER_CAPABILITY:
|
||||
{
|
||||
size_t offset = 8;
|
||||
UINT16 numCapabilities = 0;
|
||||
if (pos >= 6)
|
||||
Stream_Read_UINT16(s, numCapabilities);
|
||||
|
@ -83,7 +83,7 @@ int TestNCryptSmartcard(int argc, char* argv[])
|
||||
|
||||
if (ConvertWCharToUtf8(name->pszName, providerNameStr, ARRAYSIZE(providerNameStr)) < 0)
|
||||
continue;
|
||||
printf("provider %ld: %s\n", j, providerNameStr);
|
||||
printf("provider %" PRIuz ": %s\n", j, providerNameStr);
|
||||
|
||||
status = NCryptOpenStorageProvider(&provider, name->pszName, 0);
|
||||
if (status != ERROR_SUCCESS)
|
||||
@ -101,7 +101,7 @@ int TestNCryptSmartcard(int argc, char* argv[])
|
||||
if (ConvertWCharToUtf8(keyName->pszName, keyNameStr, ARRAYSIZE(keyNameStr)) < 0)
|
||||
continue;
|
||||
|
||||
printf("\tkey %ld: %s\n", i, keyNameStr);
|
||||
printf("\tkey %" PRIuz ": %s\n", i, keyNameStr);
|
||||
status = NCryptOpenKey(provider, &phKey, keyName->pszName, keyName->dwLegacyKeySpec,
|
||||
dwFlags);
|
||||
if (status != ERROR_SUCCESS)
|
||||
|
Loading…
Reference in New Issue
Block a user