shithub: riscv

Download patch

ref: b5a6dc7849cbd9f1fd23183ba46f0d5deb24e81d
parent: a9dd55c2ff1b714b1eae5547e8c2b985f9fd452c
author: aiju <devnull@localhost>
date: Mon Jun 26 18:24:00 EDT 2017

vmx: fix build on non-x86 architectures (switch vlong)

--- a/sys/src/cmd/vmx/9p.c
+++ b/sys/src/cmd/vmx/9p.c
@@ -25,7 +25,7 @@
 {
 	int rc;
 
-	switch(r->fid->qid.path){
+	switch((int)r->fid->qid.path){
 	case Qregs:
 		rc = pread(regsfd, r->ofcall.data, r->ifcall.count, r->ifcall.offset);
 		if(rc < 0)