Yet more unsigned fixes

This commit is contained in:
Erik de Castro Lopo 2017-01-16 18:28:31 +11:00
parent f60a8ccc5c
commit 9bb7a7e0f5
3 changed files with 4 additions and 4 deletions

View File

@ -2080,7 +2080,7 @@ FLAC_API FLAC__bool FLAC__metadata_object_cuesheet_is_legal(const FLAC__StreamMe
* \code object != NULL \endcode * \code object != NULL \endcode
* \code object->type == FLAC__METADATA_TYPE_CUESHEET \endcode * \code object->type == FLAC__METADATA_TYPE_CUESHEET \endcode
* \retval FLAC__uint32 * \retval FLAC__uint32
* The uint32_t integer representation of the CDDB/freedb ID * The unsigned integereger representation of the CDDB/freedb ID
*/ */
FLAC_API FLAC__uint32 FLAC__metadata_object_cuesheet_calculate_cddb_id(const FLAC__StreamMetadata *object); FLAC_API FLAC__uint32 FLAC__metadata_object_cuesheet_calculate_cddb_id(const FLAC__StreamMetadata *object);

View File

@ -62,8 +62,8 @@
* flac_float_t l_samples [4096]; * flac_float_t l_samples [4096];
* flac_float_t r_samples [4096]; * flac_float_t r_samples [4096];
* size_t num_samples; * size_t num_samples;
* uint32_t int num_songs; * uint32_t num_songs;
* uint32_t int i; * uint32_t i;
* *
* InitGainAnalysis ( 44100 ); * InitGainAnalysis ( 44100 );
* for ( i = 1; i <= num_songs; i++ ) { * for ( i = 1; i <= num_songs; i++ ) {

View File

@ -129,7 +129,7 @@ int utf8_mbtowc(int *pwc, const char *s, size_t n)
int utf8_wctomb(char *s, int wc1) int utf8_wctomb(char *s, int wc1)
{ {
uint32_t int wc = wc1; uint32_t wc = wc1;
if (!s) if (!s)
return 0; return 0;