summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-04-16 14:43:01 +0200
committerTakashi Iwai <tiwai@suse.de>2008-04-16 14:43:01 +0200
commit8802e85d41ab5fea1eb5bedf19a520373e483a67 (patch)
tree327675514caeb939293972b6d4a5dd91da0aee9c
parent8e3e09dd0b17e507787ef9b8657d4f1609a52b1f (diff)
downloadalsa-utils-8802e85d41ab5fea1eb5bedf19a520373e483a67.tar.gz
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’
-rw-r--r--aplay/aplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aplay/aplay.c b/aplay/aplay.c
index dfa2f77..d8b4772 100644
--- a/aplay/aplay.c
+++ b/aplay/aplay.c
@@ -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;