diff options
-rw-r--r-- | hw/vhost_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vhost_net.c b/hw/vhost_net.c index 26dae797bf..606aa0c1c9 100644 --- a/hw/vhost_net.c +++ b/hw/vhost_net.c @@ -100,7 +100,7 @@ struct vhost_net *vhost_net_init(VLANClientState *backend, int devfd) } if (~net->dev.features & net->dev.backend_features) { fprintf(stderr, "vhost lacks feature mask %" PRIu64 " for backend\n", - ~net->dev.features & net->dev.backend_features); + (uint64_t)(~net->dev.features & net->dev.backend_features)); vhost_dev_cleanup(&net->dev); goto fail; } |