* include/grub/term.h (grub_unicode_estimate_width): Use grub_size_t

as return type in both conditionals.
This commit is contained in:
Vladimir Serbinenko 2013-12-21 14:33:36 +01:00
parent 36bcaf2903
commit a997af68e3
2 changed files with 6 additions and 1 deletions

View file

@ -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> 2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/video.h (grub_video_rgba_color_rgb): Fix prototype * include/grub/video.h (grub_video_rgba_color_rgb): Fix prototype

View file

@ -405,7 +405,7 @@ grub_unicode_estimate_width (const struct grub_unicode_glyph *c);
#else #else
static inline grub_ssize_t static inline grub_size_t
grub_unicode_estimate_width (const struct grub_unicode_glyph *c __attribute__ ((unused))) grub_unicode_estimate_width (const struct grub_unicode_glyph *c __attribute__ ((unused)))
{ {
if (grub_unicode_get_comb_type (c->base)) if (grub_unicode_get_comb_type (c->base))