Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-grub2
Commits
b5ebecfa
Commit
b5ebecfa
authored
Apr 06, 2011
by
Andrey
Committed by
Vladimir 'phcoder' Serbinenko
Apr 06, 2011
Browse files
* grub-core/video/fb/video_fb.c (grub_video_fb_setup): Silence older
gcc warning.
parent
7755f66e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
b5ebecfa
2011-04-06 Andrey <dev_null@ukr.net>
* grub-core/video/fb/video_fb.c (grub_video_fb_setup): Silence older
gcc warning.
2011-04-06 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Add few
grub-core/video/fb/video_fb.c
View file @
b5ebecfa
...
...
@@ -1445,13 +1445,16 @@ grub_video_fb_setup (unsigned int mode_type, unsigned int mode_mask,
GRUB_VIDEO_MODE_TYPE_DOUBLE_BUFFERED
,
0
))
{
/* It was much nicer with the cast directly at function call but
some older gcc versions don't accept it properly.*/
void
*
tmp
=
(
void
*
)
page0_ptr
;
mode_info
->
mode_type
|=
(
GRUB_VIDEO_MODE_TYPE_DOUBLE_BUFFERED
|
GRUB_VIDEO_MODE_TYPE_UPDATING_SWAP
);
err
=
grub_video_fb_doublebuf_blit_init
(
&
framebuffer
.
front_target
,
&
framebuffer
.
back_target
,
*
mode_info
,
(
void
*
)
page0_ptr
);
tmp
);
if
(
!
err
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment