From: Vladimir Serbinenko Date: Sat, 21 Dec 2013 13:33:36 +0000 (+0100) Subject: * include/grub/term.h (grub_unicode_estimate_width): Use grub_size_t X-Git-Tag: grub-2.02-beta2~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a997af68e3eaa2e0b2b823e5a62eddf9213c8ea6;p=thirdparty%2Fgrub.git * include/grub/term.h (grub_unicode_estimate_width): Use grub_size_t as return type in both conditionals. --- diff --git a/ChangeLog b/ChangeLog index 690ce86c0..35725ef4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-12-21 Vladimir Serbinenko + + * include/grub/term.h (grub_unicode_estimate_width): Use grub_size_t + as return type in both conditionals. + 2013-12-21 Vladimir Serbinenko * include/grub/video.h (grub_video_rgba_color_rgb): Fix prototype diff --git a/include/grub/term.h b/include/grub/term.h index 528c53008..98c68a5ab 100644 --- a/include/grub/term.h +++ b/include/grub/term.h @@ -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))