# HG changeset patch # User alexc # Date 1281111042 0 # Node ID 9999147e9d50fdf40b4d705c441de1d15099b5be # Parent 935c524d304b9218c7580c79ad48278c14864946 vorbis_dec: Change partition_class[] to uint8_t. When sizeof(uint_fast8_t) >= sizeof(int) there are unintended size effects. diff -r 935c524d304b -r 9999147e9d50 vorbis_dec.c --- a/vorbis_dec.c Fri Aug 06 10:29:14 2010 +0000 +++ b/vorbis_dec.c Fri Aug 06 16:10:42 2010 +0000 @@ -81,7 +81,7 @@ } t0; struct vorbis_floor1_s { uint_fast8_t partitions; - uint_fast8_t partition_class[32]; + uint8_t partition_class[32]; uint_fast8_t class_dimensions[16]; uint_fast8_t class_subclasses[16]; uint_fast8_t class_masterbook[16];