diff options
| author | Markus Armbruster | 2013-01-16 14:50:29 +0100 |
|---|---|---|
| committer | Blue Swirl | 2013-01-19 11:22:48 +0100 |
| commit | 0e7a75929353b04bd2fce1be8640226883b42a10 (patch) | |
| tree | b50137042e6b5acccd807ab833abd12fbd6aba9a /include | |
| parent | fw_cfg: Use void *, size_t instead of uint8_t *, uint32_t for blobs (diff) | |
| download | qemu-0e7a75929353b04bd2fce1be8640226883b42a10.tar.gz qemu-0e7a75929353b04bd2fce1be8640226883b42a10.tar.xz qemu-0e7a75929353b04bd2fce1be8640226883b42a10.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sysemu/sysemu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index cd12f0931b..6599617def 100644 --- a/include/sysemu/sysemu.h +++ b/include/sysemu/sysemu.h @@ -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); |
