[Mplayer-cvslog] CVS: main/vidix/drivers mga_vid.c,1.18,1.19

Dominik Mierzejewski dominik at rangers.eu.org
Thu Nov 7 15:20:23 CET 2002


On Thursday, 07 November 2002, Alex Beregszaszi wrote:
> Hi,
> 
> > Index: mga_vid.c
> > ===================================================================
> > RCS file: /cvsroot/mplayer/main/vidix/drivers/mga_vid.c,v
> > retrieving revision 1.18
> > retrieving revision 1.19
> > diff -u -r1.18 -r1.19
> > --- mga_vid.c	28 Aug 2002 22:45:48 -0000	1.18
> > +++ mga_vid.c	6 Nov 2002 23:54:29 -0000	1.19
> > @@ -777,7 +777,7 @@
> >      	return(EFAULT);
> >      }
> >      mga_src_base &= (~0xFFFF); /* 64k boundary */
> > -    if (mga_verbose > 1) printf("[mga] YUV buffer base: %p\n", mga_src_base);
> > +    if (mga_verbose > 1) printf("[mga] YUV buffer base: %#x\n", mga_src_base);
> why %#x ?

Because mga_src_base is not a pointer. %#x is %p equivalent for int types.



More information about the MPlayer-cvslog mailing list