* grub-core/video/i386/pc/vbe.c

(grub_video_vbe_print_adapter_specific_info): Replace division by
	shifts.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-03-10 18:49:05 +01:00
parent 3f2b4d1a81
commit 21344ef620
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-03-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/video/i386/pc/vbe.c
(grub_video_vbe_print_adapter_specific_info): Replace division by
shifts.
2013-03-10 Vladimir Serbinenko <phcoder@gmail.com>
Adjust types in gdb module to have intended unsigned shifts rather than

View File

@ -1197,7 +1197,7 @@ grub_video_vbe_print_adapter_specific_info (void)
/* The total_memory field is in 64 KiB units. */
grub_printf_ (N_(" total memory: %d KiB\n"),
(controller_info.total_memory << 16) / 1024);
(controller_info.total_memory << 6));
}
static struct grub_video_adapter grub_video_vbe_adapter =