Purge usage of `unsigned` type
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 14 Jan 2017 06:26:39 +0000 (17:26 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 14 Jan 2017 06:46:02 +0000 (17:46 +1100)
commitc6318e9dd3f7a91f40340911bcf57bf36768910e
tree19c44a2ef48655e1c81b1779a4d02813b6d0aa78
parent55721556161e6ab209f940f5023bc44b4051524a
Purge usage of `unsigned` type

As pointed out by Ozkan Sezer, on some platforms `int32_t` is actually
a typedef for `long` so `unsigned` cannot be used interchangably with
`FLAC__uint32`. Fix is to switch from `unsigned` to explicit sized ISO
C types defined in <stdint.h>.
75 files changed:
src/libFLAC/bitmath.c
src/libFLAC/bitreader.c
src/libFLAC/bitwriter.c
src/libFLAC/cpu.c
src/libFLAC/crc.c
src/libFLAC/fixed.c
src/libFLAC/fixed_intrin_sse2.c
src/libFLAC/fixed_intrin_ssse3.c
src/libFLAC/float.c
src/libFLAC/format.c
src/libFLAC/include/private/bitmath.h
src/libFLAC/include/private/bitreader.h
src/libFLAC/include/private/bitwriter.h
src/libFLAC/include/private/crc.h
src/libFLAC/include/private/fixed.h
src/libFLAC/include/private/float.h
src/libFLAC/include/private/format.h
src/libFLAC/include/private/lpc.h
src/libFLAC/include/private/md5.h
src/libFLAC/include/private/memory.h
src/libFLAC/include/private/ogg_decoder_aspect.h
src/libFLAC/include/private/ogg_encoder_aspect.h
src/libFLAC/include/private/ogg_mapping.h
src/libFLAC/include/private/stream_encoder.h
src/libFLAC/include/private/stream_encoder_framing.h
src/libFLAC/include/protected/stream_decoder.h
src/libFLAC/include/protected/stream_encoder.h
src/libFLAC/lpc.c
src/libFLAC/lpc_intrin_avx2.c
src/libFLAC/lpc_intrin_sse.c
src/libFLAC/lpc_intrin_sse2.c
src/libFLAC/lpc_intrin_sse41.c
src/libFLAC/md5.c
src/libFLAC/memory.c
src/libFLAC/metadata_iterators.c
src/libFLAC/metadata_object.c
src/libFLAC/ogg_decoder_aspect.c
src/libFLAC/ogg_encoder_aspect.c
src/libFLAC/ogg_helper.c
src/libFLAC/ogg_mapping.c
src/libFLAC/stream_decoder.c
src/libFLAC/stream_encoder.c
src/libFLAC/stream_encoder_framing.c
src/libFLAC/stream_encoder_intrin_avx2.c
src/libFLAC/stream_encoder_intrin_sse2.c
src/libFLAC/stream_encoder_intrin_ssse3.c
src/plugin_common/dither.c
src/plugin_common/dither.h
src/plugin_common/tags.c
src/plugin_xmms/fileinfo.c
src/plugin_xmms/http.c
src/plugin_xmms/plugin.c
src/share/getopt/getopt.c
src/share/grabbag/cuesheet.c
src/share/grabbag/picture.c
src/share/grabbag/replaygain.c
src/share/grabbag/seektable.c
src/share/replaygain_analysis/replaygain_analysis.c
src/share/replaygain_synthesis/replaygain_synthesis.c
src/share/utf8/charmaps.h
src/share/utf8/charset.c
src/share/utf8/makemap.c
src/test_grabbag/cuesheet/main.c
src/test_grabbag/picture/main.c
src/test_libFLAC/bitwriter.c
src/test_libFLAC/decoders.c
src/test_libFLAC/encoders.c
src/test_libFLAC/endswap.c
src/test_libFLAC/format.c
src/test_libFLAC/md5.c
src/test_libFLAC/metadata_manip.c
src/test_libFLAC/metadata_object.c
src/test_libs_common/file_utils_flac.c
src/test_libs_common/metadata_utils.c
src/test_seeking/main.c