shithub: riscv

Download patch

ref: 1919e9183b7d1196baf024747f83a83afe26cc97
parent: c036d803a1e94fd3a266bd37a786394dab3b8f90
author: Sigrid <[email protected]>
date: Thu Apr 22 04:40:50 EDT 2021

zuke: fix position formatter using a wrong type

--- a/sys/src/cmd/audio/zuke/zuke.c
+++ b/sys/src/cmd/audio/zuke/zuke.c
@@ -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;