summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2017-06-26 22:24:00 +0000
committeraiju <devnull@localhost>2017-06-26 22:24:00 +0000
commitb5a6dc7849cbd9f1fd23183ba46f0d5deb24e81d (patch)
tree529e79e05afbf5715912e91ef13e23f47d8a5eae /sys/src
parenta9dd55c2ff1b714b1eae5547e8c2b985f9fd452c (diff)
vmx: fix build on non-x86 architectures (switch vlong)
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/cmd/vmx/9p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/vmx/9p.c b/sys/src/cmd/vmx/9p.c
index 69cc744f2..84c3a1419 100644
--- a/sys/src/cmd/vmx/9p.c
+++ b/sys/src/cmd/vmx/9p.c
@@ -25,7 +25,7 @@ srvread(Req *r)
{
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)