vmsvga: more cursor checks
commit5829b097204189c56dd1fb62c7f827360394bb39
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 29 Sep 2015 07:58:05 +0000 (29 09:58 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 20 Oct 2015 07:26:36 +0000 (20 09:26 +0200)
tree6dfd33e95adb029980b31f71dfdf0c02ba94d14f
parentb798c1905705e6ab44279d8a9ae41e500756eb1c
vmsvga: more cursor checks

Check the cursor size more carefully.  Also switch to unsigned while
being at it, so they can't be negative.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/vmware_vga.c