shithub: riscv

Download patch

ref: fe2e77025ba31f83527707e9a248c3d6a8db34e2
parent: 0875cc2883deb30a0c75569ed8ee65c10988849b
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Sep 19 17:56:21 EDT 2022

audio/zuke: seekto: vlong, unsigned doesn't work well for negative numbers...

--- a/sys/src/cmd/audio/zuke/zuke.c
+++ b/sys/src/cmd/audio/zuke/zuke.c
@@ -957,7 +957,7 @@
 static void
 seekto(char *s)
 {
-	uvlong p;
+	vlong p;
 	char *e;
 
 	for(p = 0; *s; s = e){