diff options
author | Alon Levy <alevy@redhat.com> | 2014-01-20 18:57:12 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-02-03 11:05:15 +0100 |
commit | 3761abb167847e9d848588bf15c5d7476845f7e8 (patch) | |
tree | 9b0264463c24eeb7ee8f5c5b8583cff5e7630448 /scripts/switch-timer-api | |
parent | f06b85218a41fd6f8e797a925f4ea75640b69c9e (diff) | |
download | hqemu-3761abb167847e9d848588bf15c5d7476845f7e8.zip hqemu-3761abb167847e9d848588bf15c5d7476845f7e8.tar.gz |
hw/display/qxl: fix signed to unsigned comparison
Several small signedness / overflow corrections to qxl_create_guest_primary:
1. use 64 bit unsigned for size to avoid overflow possible from two 32
bit multiplicants.
2. correct sign for requested_height
3. add a more verbose error message when setting guest bug state (which
causes a complete guess blackout until reset, so it helps if it is
verbose).
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions