mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-17 22:06:26 +08:00
Fix MSVC warnings
This commit is contained in:
@@ -77,7 +77,7 @@ int main(int argc, char **argv)
|
||||
sha256_finish(&ctx, dgst);
|
||||
|
||||
if (memcmp(dgstbuf, dgst, sizeof(dgst)) != 0) {
|
||||
printf("sha256 test %lu failed\n", i+1);
|
||||
printf("sha256 test %zu failed\n", i+1);
|
||||
printf("%s\n", tests[i].dgsthex);
|
||||
for (j = 0; j < sizeof(dgst); j++) {
|
||||
printf("%02X", dgst[j]);
|
||||
@@ -85,7 +85,7 @@ int main(int argc, char **argv)
|
||||
printf("\n");
|
||||
err++;
|
||||
} else {
|
||||
printf("sha256 test %lu ok\n", i+1);
|
||||
printf("sha256 test %zu ok\n", i+1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user