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

lvqcl lvqcl.mail at gmail.com
Sun Jan 15 06:43:38 UTC 2017

Erik de Castro Lopo wrote:

>> It's synonymous to uint32_t, but if the 1st parameter for
>> _BitScanReverse*()
>> functions has 'pointer to unsigned long' type then IMHO it's better to
>> simply use unsigned long variable there.
> Sorry, I disagree on the idea of using `unsigned long` exactly because
> anyone that comes from Unix will assume that is `uint64_t`. Better to
> use `uint32_t` which is totally platform independant and unambiguous.

Ok, Visual Studio doesn't complain if idx is declared as uint32_t.

More information about the flac-dev mailing list