[xiph-cvs] cvs commit: vorbis-tools/ogginfo ogginfo2.c

Segher Boessenkool segher at koffie.nl
Fri Mar 7 15:51:47 PST 2003



Michael Smith wrote:
> -/* Different implementations have different format strings for 64 bit ints. */
> -#ifdef _WIN32
> -#define INT64FORMAT "%I64d"
> -#else
> -#define INT64FORMAT "%Ld"
> -#endif

"%lld" is portable, though -- better change "%Ld" to that.  Maybe
mswindows isn't portable, though?

As an aside, shouldn't granulepos be unsigned?

<p>Cheers,

Segher

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list