[misc] fix CodeQL warnings

This commit is contained in:
Pete Batard 2023-04-22 16:36:27 +01:00
parent d18260bec3
commit 3177e70e25
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
12 changed files with 27 additions and 27 deletions

View file

@ -1341,7 +1341,7 @@ static BOOL get_data_from_asn1_internal(const uint8_t* buf, size_t buf_len, cons
}
if (len > buf_len - pos) {
uprintf("get_data_from_asn1: Overflow error (computed length %d is larger than remaining data)", len);
uprintf("get_data_from_asn1: Overflow error (computed length %zu is larger than remaining data)", len);
return FALSE;
}
}