mirror of
https://github.com/Silicondust/libhdhomerun
synced 2025-08-20 05:23:27 -07:00
fix warning
This commit is contained in:
parent
94edccd040
commit
b357c97577
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ void hdhomerun_device_selector_add_device(struct hdhomerun_device_selector_t *hd
|
|||
}
|
||||
}
|
||||
|
||||
struct hdhomerun_device_t **hd_list = (struct hdhomerun_device_t **)realloc(hds->hd_list, (hds->hd_count + 1) * sizeof(struct hdhomerun_device_selector_t *));
|
||||
struct hdhomerun_device_t **hd_list = (struct hdhomerun_device_t **)realloc(hds->hd_list, (hds->hd_count + 1) * sizeof(struct hdhomerun_device_t *));
|
||||
if (!hd_list) {
|
||||
hdhomerun_debug_printf(hds->dbg, "hdhomerun_device_selector_add_device: failed to allocate device list\n");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue