mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:45:41 +01:00
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:
parent
8e3e09dd0b
commit
8802e85d41
1 changed files with 1 additions and 1 deletions
|
@ -1324,7 +1324,7 @@ static void compute_max_peak(u_char *data, size_t count)
|
|||
}
|
||||
default:
|
||||
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;
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue