mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
* include/grub/video.h (grub_video_rgba_color_rgb): Fix prototype
to use uint8_t for color.
This commit is contained in:
1 parent
74763e9615
commit
36bcaf2903
2 files changed
+6
-1
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user