]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Fixed warning
authorJaroslav Kysela <perex@perex.cz>
Tue, 2 Oct 2001 08:03:52 +0000 (08:03 +0000)
committerJaroslav Kysela <perex@perex.cz>
Tue, 2 Oct 2001 08:03:52 +0000 (08:03 +0000)
aplay/aplay.c

index b9b4dffc7824a1809c8d8294db7d7178b1ad4e37..1e9bd5c8bbd52679fe1b10dcae968da316c3aabe 100644 (file)
@@ -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));
 }
 
 /*