shithub: plan9front

Download patch

ref: 1919e9183b7d1196baf024747f83a83afe26cc97
parent: c036d803a1e94fd3a266bd37a786394dab3b8f90
author: Sigrid <ftrvxmtrx@gmail.com>
date: Thu Apr 22 02:40:50 EDT 2021

zuke: fix position formatter using a wrong type

--- a/sys/src/cmd/audio/zuke/zuke.c	Wed Apr 21 10:58:27 2021
+++ b/sys/src/cmd/audio/zuke/zuke.c	Thu Apr 22 02:40:50 2021
@@ -144,7 +144,7 @@
 	u64int sec;
 
 	s = tmp;
-	sec = va_arg(f->args, int);
+	sec = va_arg(f->args, uvlong);
 	if(sec >= 3600){
 		s = seprint(s, tmp+sizeof(tmp), "%02lld:", sec/3600);
 		sec %= 3600;