[MPlayer-dev-eng] [PATCH] fix scaler on 64 bit

Rich Felker dalias at aerifal.cx
Fri May 5 17:27:03 CEST 2006


On Fri, May 05, 2006 at 04:20:00PM +0200, Michael Niedermayer wrote:
> Hi
> 
> On Fri, May 05, 2006 at 01:47:38PM +0200, Reimar Döffinger wrote:
> > Hi,
> > On Fri, May 05, 2006 at 02:26:56PM +0300, Ivan Kalvachev wrote:
> > > Wouldn't be (u)intptr_t  better suited?
> > 
> > Well, I don't really like the fact that then this field of the struct
> > would have a different size for 32 and 64 versions. It shouldn't matter
> > due to the forced alignment.
> > I don't have any strong feelings, but so far I slightly prefer uint64_t.
> 
> i prefer uint64_t too

Why? intptr_t represents the semantics correctly. uint64_t will break
when we port to 128-bit systems. :)

Rich




More information about the MPlayer-dev-eng mailing list