aplay - Fix a compile warning

aplay.c: In function ‘compute_max_peak’:
aplay.c:1327: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
This commit is contained in:
Takashi Iwai 2008-04-16 14:43:01 +02:00
parent 8e3e09dd0b
commit 8802e85d41

View file

@ -1324,7 +1324,7 @@ static void compute_max_peak(u_char *data, size_t count)
} }
default: default:
if (run == 0) { if (run == 0) {
fprintf(stderr, _("Unsupported bit size %d.\n"), bits_per_sample); fprintf(stderr, _("Unsupported bit size %d.\n"), (int)bits_per_sample);
run = 1; run = 1;
} }
return; return;