git: 9front

Download patch

ref: 676492a86b35c506bfe4e7b2e172c6454fa009e4
parent: e6d9f6bca725dbe1cd580060ef7b6571ab574f67
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)
--