* include/grub/term.h (grub_unicode_estimate_width): Use grub_size_t
as return type in both conditionals.
This commit is contained in:
parent
36bcaf2903
commit
a997af68e3
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* include/grub/term.h (grub_unicode_estimate_width): Use grub_size_t
|
||||
as return type in both conditionals.
|
||||
|
||||
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* include/grub/video.h (grub_video_rgba_color_rgb): Fix prototype
|
||||
|
|
|
@ -405,7 +405,7 @@ grub_unicode_estimate_width (const struct grub_unicode_glyph *c);
|
|||
|
||||
#else
|
||||
|
||||
static inline grub_ssize_t
|
||||
static inline grub_size_t
|
||||
grub_unicode_estimate_width (const struct grub_unicode_glyph *c __attribute__ ((unused)))
|
||||
{
|
||||
if (grub_unicode_get_comb_type (c->base))
|
||||
|
|
Loading…
Reference in a new issue