Hans Leidekker (@hans) commented about dlls/advapi32/tests/crypt.c:
ERROR_NO_MORE_ITEMS, GetLastError());
/* check expected versus actual values returned */
- type = -1;
- providerLen = -1; result = pCryptEnumProvidersA(dwIndex, NULL, 0, &type, NULL, &providerLen);
- ok(result && providerLen==cbName, "expected %i, got %i\n", (int)cbName, (int)providerLen);
- ok(result, "expected TRUE, got %ld\n", result);
- ok(type==dwType, "expected %ld, got %ld\n", dwType, type);
- ok(providerLen==cbName, "expected %i, got %i\n", (int)cbName, (int)providerLen);
Please use spaces around operators, format DWORD with %lu and remove the casts.