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:
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user