shithub: riscv

Download patch

ref: b61799df43c4624225557d3ab4ccb4433f2ae5e2
parent: f2d2f9374bf115ad60873e6efaf2f802088bd0cd
author: cinap_lenrek <[email protected]>
date: Wed Feb 15 03:53:31 EST 2017

playlistfs: fix playc chan type (thanks mischief)

--- a/sys/src/games/music/playlistfs/player.c
+++ b/sys/src/games/music/playlistfs/player.c
@@ -356,7 +356,7 @@
 	for(i = 0; i < NSparebuf; i++)
 		sendp(spare, malloc(sizeof(Pacbuf)));
 
-	playc = chancreate(sizeof(Pmsg), 1);
+	playc = chancreate(sizeof(ulong), 1);
 	procrfork(decproc, nil, 32*1024, RFFDG);
 	procrfork(pcmproc, nil, 32*1024, RFFDG);
 }