[flac-dev] unsigned int and FLAC__uint32 are used interchangeably

Dave Yeo dave.r.yeo at gmail.com
Sun Jan 15 03:16:46 UTC 2017


On 01/14/17 05:23 PM, Erik de Castro Lopo wrote:
> The `unsigned long` type should be synonymous with `uint64_t` so using
> `uint64_t` should be safe. Furthermore if they aren't synonymous we
> *want*  that to be a compile error!

DOSish systems seem to use long for 32bit types and long long for 64 bit 
types, at least when targeting 16 bit (int is 16 bit) or 32 bit (int is 
32 bits) systems. Long would be 64bits on a 64 bit system.
Best to just stay with the *_t types.
Dave


More information about the flac-dev mailing list