lvqcl wrote: > seek_barrage() has variable n of type long int (which is 32bit usually).
Thats true on Windows, but on both 32 and 64 bit linux sizeof (long int) is 8. > Then we see something like > > n = (long int)total_samples; > > So, why n has type long int, and not FLAC__int64 or some other 64-bit type? If I was writing FLAC from scratch now, I would not define any of these FLAC_intXX types and just use the standard <stdint.h> types. Since this `n` variable is not part of the public API, I would use int64_t. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ _______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev