fix: invalidPrintfArg

This commit is contained in:
iceman1001
2019-04-05 18:47:36 +02:00
parent 82f4388abe
commit ea5dddafef
5 changed files with 10 additions and 10 deletions

View File

@@ -84,7 +84,7 @@ void print_mpi(const char *msg, int radix, const mbedtls_mpi *X) {
size_t len = 0;
mbedtls_mpi_write_string(X, radix, Xchar, sizeof(Xchar), &len);
printf("%s[%ld] %s\n", msg, len, Xchar);
printf("%s[%zu] %s\n", msg, len, Xchar);
}
bool emv_rocacheck(const unsigned char *buf, size_t buflen, bool verbose) {