[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

@ -1465,7 +1465,7 @@ int iso9660_readfat(intptr_t pp, void *buf, size_t secsize, libfat_sector_t sec)
iso9660_readfat_private* p_private = (iso9660_readfat_private*)pp;
if (sizeof(p_private->buf) % secsize != 0) {
uprintf("iso9660_readfat: Sector size %d is not a divisor of %d", secsize, sizeof(p_private->buf));
uprintf("iso9660_readfat: Sector size %zu is not a divisor of %zu", secsize, sizeof(p_private->buf));
return 0;
}