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

This commit is contained in:
aiju 2017-06-26 22:24:00 +00:00
parent a9dd55c2ff
commit b5a6dc7849

View file

@ -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)