[flac-dev] FLAC__BYTES_PER_WORD==8 test results

Erik de Castro Lopo mle+la at mega-nerd.com
Thu Dec 31 03:09:53 PST 2015


Cristian Adam wrote:

> 
> On Windows x64 sizeof(long) is 4, but sizeof(ptrdiff_t) is 8.
> 
> Any reasons for not using sizeof(ptrdiff_t)?

Because of x32 Linux which is the x86_64 registers but with 32
bit pointers. 32 bit pointers means sizeof(ptrdiff_t) is probably
4.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list