From 191da605087398d09348553cdec7355f3ceff3c4 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 2 Oct 2001 08:03:52 +0000 Subject: [PATCH] Fixed warning --- aplay/aplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aplay/aplay.c b/aplay/aplay.c index b9b4dff..1e9bd5c 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -889,7 +889,7 @@ static void compute_max_peak(u_char *data, size_t count) max = 1 << (bits_per_sample-1); if (max == 0) max = 0x7fffffff; - printf("Max peak (%li samples): %i (0x%x) %i%%\n", ocount, max_peak, max_peak, max_peak / (max / 100)); + printf("Max peak (%li samples): %i (0x%x) %i%%\n", (long)ocount, max_peak, max_peak, max_peak / (max / 100)); } /*