fix warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’}
This commit is contained in:
@@ -89,7 +89,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[%d] %s\n", msg, len, Xchar);
|
||||
printf("%s[%ld] %s\n", msg, len, Xchar);
|
||||
}
|
||||
|
||||
bool emv_rocacheck(const unsigned char *buf, size_t buflen, bool verbose)
|
||||
|
||||
Reference in New Issue
Block a user