]> Git Repo - qemu.git/commitdiff
fw_cfg: Use void *, size_t instead of uint8_t *, uint32_t for blobs
authorMarkus Armbruster <[email protected]>
Wed, 16 Jan 2013 13:50:28 +0000 (14:50 +0100)
committerBlue Swirl <[email protected]>
Sat, 19 Jan 2013 10:22:44 +0000 (10:22 +0000)
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 <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>

No differences found
This page took 0.025418 seconds and 4 git commands to generate.