Re: [flac-dev] question about src/test_seeking.c - seek_barrage()

2016-01-31 Thread Brian Willoughby
Agreed. Although there wasn't a universal standard when FLAC was started, it sure seems like int64_t and related types are available on all systems these days. Either FLAC__intXX or intXX_t are better than the old types, like byte, word, dword, quadword, or whatever. Brian On Jan 31, 2016, a

Re: [flac-dev] question about src/test_seeking.c - seek_barrage()

2016-01-31 Thread Erik de Castro Lopo
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