diff options
author | aiju <devnull@localhost> | 2017-06-20 15:15:53 +0000 |
---|---|---|
committer | aiju <devnull@localhost> | 2017-06-20 15:15:53 +0000 |
commit | 164588e3e2aca1f6deac1dd4bcf962a0867a26fc (patch) | |
tree | 3d7c6acba798aebaf83223c95c21bf3c792ad5ed /sys/src/cmd/vmx/virtio.c | |
parent | becb89bae53e01785bfd843478737eeb77a9419f (diff) |
vmx(1): clean up region handling code; changes to support amd64
Diffstat (limited to 'sys/src/cmd/vmx/virtio.c')
-rw-r--r-- | sys/src/cmd/vmx/virtio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/vmx/virtio.c b/sys/src/cmd/vmx/virtio.c index d4d573fc7..420974a7d 100644 --- a/sys/src/cmd/vmx/virtio.c +++ b/sys/src/cmd/vmx/virtio.c @@ -86,7 +86,7 @@ vioirq_(void *arg) int val; d = ((void**)arg)[0]; - val = (int) ((void**)arg)[1]; + val = (uintptr)((void**)arg)[1]; if(val != 0) d->isrstat |= val; else |