switch to C99 types, part II

Do full C99 integer type conversion in all modules which were not
touched by Eric's merged patch.
This commit is contained in:
Max Kellermann
2008-09-29 15:49:29 +02:00
parent 0352766dca
commit 226d52b36f
17 changed files with 82 additions and 58 deletions

View File

@@ -153,7 +153,7 @@ static int shout_mp3_encoder_encode(struct shout_data *sd,
for (i = 0; i < samples; i++) {
for (j = 0; j < sd->audio_format.channels; j++) {
lamebuf[j][i] = *((const mpd_sint16 *) chunk);
lamebuf[j][i] = *((const int16_t *) chunk);
chunk += bytes;
}
}

View File

@@ -267,7 +267,7 @@ static int shout_ogg_encoder_encode(struct shout_data *sd,
for (i = 0; i < samples; i++) {
for (j = 0; j < sd->audio_format.channels; j++) {
vorbbuf[j][i] = (*((const mpd_sint16 *) chunk)) / 32768.0;
vorbbuf[j][i] = (*((const int16_t *) chunk)) / 32768.0;
chunk += bytes;
}
}