[ogg-dev] [PATCH] liboggplay - 64 bit fixes

Erik de Castro Lopo mle+la at mega-nerd.com
Tue May 20 04:08:45 PDT 2008

ogg.k.ogg.k at googlemail.com wrote:

>              printf("[%d] [duration %lld] %s\n",

I believe that the right (ie ISO C standard recommended) way of doing
this is:

              printf("[%d] [duration %" PRId64 "] %s\n",

which will be correct on 32 and 64 bit systems without requiring a

Erik de Castro Lopo
Laws of Thermodynamics:
1) You cannot win.
2) You cannot break even.
3) You cannot get out of the game.

More information about the ogg-dev mailing list