]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* include/grub/video.h (grub_video_rgba_color_rgb): Fix prototype
authorVladimir Serbinenko <phcoder@gmail.com>
Sat, 21 Dec 2013 13:31:47 +0000 (14:31 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sat, 21 Dec 2013 13:31:47 +0000 (14:31 +0100)
to use uint8_t for color.

ChangeLog
include/grub/video.h

index 5ab866fbfa64330a2cfe669ecd2fa6472c4c3156..690ce86c0934d06af83b48c15f43612d39406239 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-21  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * include/grub/video.h (grub_video_rgba_color_rgb): Fix prototype
+       to use uint8_t for color.
+
 2013-12-21  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * util/misc.c (grub_util_get_image_size): Check for overflow.
index 778012e087cab2ba52bf6bb625ff2ae0ea1fc83b..52c3fd71e10e44d68968f38d1422b8e7d3f5eaa0 100644 (file)
@@ -552,7 +552,7 @@ grub_video_check_mode_flag (grub_video_mode_type_t flags,
 grub_video_driver_id_t EXPORT_FUNC (grub_video_get_driver_id) (void);
 
 static __inline grub_video_rgba_color_t
-grub_video_rgba_color_rgb (int r, int g, int b)
+grub_video_rgba_color_rgb (grub_uint8_t r, grub_uint8_t g, grub_uint8_t b)
 {
   grub_video_rgba_color_t c;
   c.red = r;