[xiph-cvs] cvs commit: vorbis-tools/ogginfo ogginfo2.c
Michael Smith
msmith at xiph.org
Sat Mar 8 17:47:12 PST 2003
On Saturday 08 March 2003 10:51, Segher Boessenkool wrote:
> 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?
%I64d is necceary for win32.
>
> As an aside, shouldn't granulepos be unsigned?
No. Definately not.
Mike
--- >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