[MPlayer-dev-eng] [PATCH] mp_msg/printf fixes

Rich Felker dalias at aerifal.cx
Mon Nov 28 01:54:36 CET 2005


On Mon, Nov 28, 2005 at 02:17:12AM +0200, Jan Knutar wrote:
> On Monday 28 November 2005 01:28, Dominik 'Rathann' Mierzejewski wrote:
> > and uses PRI*64 macros for off_t type.
> 
> Are you sure? The default on Linux is to compile MPlayer with 32 bit off_t,
> unless --enable-largefiles is given to configure. See:

Yes, this is because glibc is broken and defaults to 32bit....
Anyway the correct solution (used elsewhere in mplayer) is to always
cast offsets to long long (or maybe int64_t) and then use the PRI*64
macros.

Rich




More information about the MPlayer-dev-eng mailing list