diff options
| author | Markus Armbruster | 2013-01-16 14:50:28 +0100 |
|---|---|---|
| committer | Blue Swirl | 2013-01-19 11:22:44 +0100 |
| commit | 089da572b956ef0f8f5b8d5917358e07892a77c2 (patch) | |
| tree | 3bcc9c8123e3e21e6645eaa63e97914447e9e25c /include | |
| parent | pc: Clean up bochs_bios_init()'s (non-)use of sizeof (diff) | |
| download | qemu-089da572b956ef0f8f5b8d5917358e07892a77c2.tar.gz qemu-089da572b956ef0f8f5b8d5917358e07892a77c2.tar.xz qemu-089da572b956ef0f8f5b8d5917358e07892a77c2.zip | |
fw_cfg: Use void *, size_t instead of uint8_t *, uint32_t for blobs
Many callers pass size_t, which gets silently truncated to uint32_t.
Harmless, because all practical sizes are well below 4GiB. Clean it
up anyway. Size overflow now fails assertions.
Bonus: saves a whole bunch of silly casts.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
