qemu-e2k/contrib/libvhost-user
Marc-André Lureau ba275e9d28 libvhost-user: fix clang enum-conversion warning
Now that the VhostUserMsg.request field is used for both master &
slave requests, since commit d84599f56c:

contrib/libvhost-user/libvhost-user.c:953:20: error: implicit conversion from enumeration type 'enum VhostUserSlaveRequest' to different enumeration type 'VhostUserRequest' (aka 'enum VhostUserRequest') [-Werror,-Wenum-conversion]
        .request = VHOST_USER_SLAVE_VRING_HOST_NOTIFIER_MSG,
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190308140454.32437-2-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-03-12 21:22:31 -04:00
..
libvhost-user-glib.c libvhost-user: add glib source helper 2017-10-10 23:31:09 +02:00
libvhost-user-glib.h libvhost-user: add glib source helper 2017-10-10 23:31:09 +02:00
libvhost-user.c contrib/libvhost-user: cleanup casts 2019-02-05 10:58:33 -05:00
libvhost-user.h libvhost-user: fix clang enum-conversion warning 2019-03-12 21:22:31 -04:00
Makefile.objs libvhost-user: add glib source helper 2017-10-10 23:31:09 +02:00