]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_vhost/vhost_user/vhost-net-user.c
vhost: fix build
[dpdk.git] / lib / librte_vhost / vhost_user / vhost-net-user.c
index 3aa9436dbe3e36fe4f353c1681890099fa7bebbd..31f1215a91027fa842f799b1570af34693cb24d7 100644 (file)
@@ -277,7 +277,7 @@ vserver_new_vq_conn(int fd, void *dat, __rte_unused int *remove)
        int conn_fd;
        struct connfd_ctx *ctx;
        int fh;
-       struct vhost_device_ctx vdev_ctx = { 0 };
+       struct vhost_device_ctx vdev_ctx = { (pid_t)0, 0 };
        unsigned int size;
 
        conn_fd = accept(fd, NULL, NULL);