shithub: drawterm

Download patch

ref: 3e20c04178c0017769e38a9138bf72097b2ad7d6
parent: 774d1d233e7803e769add45a4df1ae4b86f41b10
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Jul 23 13:30:41 EDT 2018

devmouse: produce signed msec timstamp in /dev/mouse

--- a/kern/devmouse.c	Sat Jul  7 15:03:16 2018
+++ b/kern/devmouse.c	Mon Jul 23 13:30:41 2018
@@ -167,7 +167,7 @@
 			else if (b == 16)
 				b = 8;
 		}
-		sprint(buf, "m%11d %11d %11d %11lud ",
+		sprint(buf, "m%11d %11d %11d %11ld ",
 			m.xy.x, m.xy.y, b, m.msec);
 
 		mouse.lastcounter = m.counter;