mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 02:31:05 +00:00
Make char and string width grub_size_t rather than grub_ssize_t.
This commit is contained in:
1 parent
0a7e52b2ed
commit
a28567364a
9 files changed
+22
-18
No files matched your search
@@ -138,7 +138,7 @@ static unsigned char calculate_character_width (struct grub_font_glyph *glyph);
|
||||
|
||||
static void grub_gfxterm_refresh (struct grub_term_output *term __attribute__ ((unused)));
|
||||
|
||||
static grub_ssize_t
|
||||
static grub_size_t
|
||||
grub_gfxterm_getcharwidth (struct grub_term_output *term __attribute__ ((unused)),
|
||||
const struct grub_unicode_glyph *c);
|
||||
|
||||
@@ -956,7 +956,7 @@ calculate_character_width (struct grub_font_glyph *glyph)
|
||||
/ virtual_screen.normal_char_width;
|
||||
}
|
||||
|
||||
static grub_ssize_t
|
||||
static grub_size_t
|
||||
grub_gfxterm_getcharwidth (struct grub_term_output *term __attribute__ ((unused)),
|
||||
const struct grub_unicode_glyph *c)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user