From: Jaroslav Kysela Date: Tue, 2 Oct 2001 08:03:52 +0000 (+0000) Subject: Fixed warning X-Git-Tag: v1.0.3~186 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=191da605087398d09348553cdec7355f3ceff3c4;p=alsa-utils.git Fixed warning --- 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)); } /*