Revision 0e7a7592 vl.c
b/vl.c | ||
---|---|---|
1198 | 1198 |
* memory pointed by "size" is assigned total length of the array in bytes |
1199 | 1199 |
* |
1200 | 1200 |
*/ |
1201 |
char *get_boot_devices_list(uint32_t *size)
|
|
1201 |
char *get_boot_devices_list(size_t *size)
|
|
1202 | 1202 |
{ |
1203 | 1203 |
FWBootEntry *i; |
1204 |
uint32_t total = 0;
|
|
1204 |
size_t total = 0;
|
|
1205 | 1205 |
char *list = NULL; |
1206 | 1206 |
|
1207 | 1207 |
QTAILQ_FOREACH(i, &fw_boot_order, link) { |
1208 | 1208 |
char *devpath = NULL, *bootpath; |
1209 |
int len;
|
|
1209 |
size_t len;
|
|
1210 | 1210 |
|
1211 | 1211 |
if (i->dev) { |
1212 | 1212 |
devpath = qdev_get_fw_dev_path(i->dev); |
Also available in: Unified diff