mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
vl: Use size_t for sizes in get_boot_devices_list()
Code mixes uint32_t, int and size_t. Very unlikely to go wrong in practice, but clean it up anyway. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
089da572b9
commit
0e7a759293
3 changed files with 5 additions and 5 deletions
|
@ -179,7 +179,7 @@ void register_devices(void);
|
|||
|
||||
void add_boot_device_path(int32_t bootindex, DeviceState *dev,
|
||||
const char *suffix);
|
||||
char *get_boot_devices_list(uint32_t *size);
|
||||
char *get_boot_devices_list(size_t *size);
|
||||
|
||||
bool usb_enabled(bool default_usb);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue