1
0
mirror of https://github.com/bluekitchen/btstack.git synced 2025-03-26 20:37:19 +00:00

chipset/realtek: fix warning

This commit is contained in:
Matthias Ringwald 2022-06-13 16:20:07 +02:00
parent ce9d10fbb0
commit 09fffc1651

@ -280,7 +280,7 @@ static uint32_t read_file(FILE **file, uint8_t **buf, const char *name) {
// read file
size_t ret = fread(*buf, size, 1, *file);
if (ret != 1) {
log_info("Failed to read %u bytes from file %s (ret = %u)", size, name, ret);
log_info("Failed to read %u bytes from file %s (ret = %d)", size, name, (int) ret);
fclose(*file);
free(*buf);
*file = NULL;