On 14:56 Thu 21 Feb     , Sascha Hauer wrote:
> On Tue, Feb 19, 2013 at 10:24:14AM +0100, Jean-Christophe PLAGNIOL-VILLARD 
> wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
> > ---
> >  lib/gui/graphic_utils.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/lib/gui/graphic_utils.c b/lib/gui/graphic_utils.c
> > index 95687df..a1be5d0 100644
> > --- a/lib/gui/graphic_utils.c
> > +++ b/lib/gui/graphic_utils.c
> > @@ -104,7 +104,7 @@ void set_pixel(struct fb_info *info, void *adr, u32 px)
> >     case 8:
> >             break;
> >     case 16:
> > -           *(u16 *)adr = px;
> > +           *(u16 *)adr = px & 0xffff;
> 
> What does this fix? The result should be the same.
not on qemu

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to