printf("%llu") is not expected work on mingw32/Windows XP.

This commit is contained in:
Frank Denis 2015-12-10 16:38:26 +01:00
parent e36400aa30
commit b977a53d1d

View File

@ -41,8 +41,8 @@ static void test_vector(const char *password, const char *salt, uint64_t N,
return;
}
printf("scrypt('%s', '%s', %llu, %lu, %lu, %lu) =\n", password, salt,
(unsigned long long)N, (unsigned long)r, (unsigned long)p,
printf("scrypt('%s', '%s', %lu, %lu, %lu, %lu) =\n", password, salt,
(unsigned long)N, (unsigned long)r, (unsigned long)p,
(unsigned long)olen);
for (i = 0; i < olen; ++i) {