commit 2c1ef5378029847e8d614fda170d6891ebd89323
parent 98c4fe1a744cdcc193015f93dfc93161b55ef9da
Author: an2qzavok <an2qzavok@gmail.com>
Date: Tue, 19 Mar 2019 18:44:00 +0300
minor adjustments
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pcmprint.c b/pcmprint.c
@@ -6,7 +6,7 @@
static int BLKSIZE = 1024;
static int CHLEN = 32;
-char intens[] = {'.', '0'};
+char intens[] = {'`', '@'};
static void
usage(char *cmd)
@@ -80,7 +80,7 @@ main(int argc, char **argv)
s++;
l -= 44100*4;
snprintf(buf, 11, " %02d:%02d:%02d ",
- (s/3600)%99, (s/60)%60, s%60);
+ (int)(s/3600)%99, (int)(s/60)%60, (int)s%60);
write(1, buf, 10);
} else write(1, " ", 10);
drawch(rmin, rmax);