]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* include/grub/term.h (grub_unicode_estimate_width): Use grub_size_t
authorVladimir Serbinenko <phcoder@gmail.com>
Sat, 21 Dec 2013 13:33:36 +0000 (14:33 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sat, 21 Dec 2013 13:33:36 +0000 (14:33 +0100)
as return type in both conditionals.

ChangeLog
include/grub/term.h

index 690ce86c0934d06af83b48c15f43612d39406239..35725ef4fe14897577fb10b3ec331d6e8fdec6e1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 528c530082903f8410fe173666dd8981bd386aa7..98c68a5ab9c186b60325a090b7a0a1593903bcda 100644 (file)
@@ -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))