shithub: zuke

Download patch

ref: 473e05dd0277b55a727594b1aca52e348edcb58b
parent: 1243acc7701c22ae52c76e5b4842c493b3e6d099
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Apr 22 02:41:41 EDT 2021

fix position formatter using a wrong type

--- a/zuke.c
+++ b/zuke.c
@@ -129,7 +129,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;