examples/vhost_xen: fix 32-bit build
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Sun, 10 Apr 2016 19:25:52 +0000 (20:25 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 10 Apr 2016 19:36:54 +0000 (21:36 +0200)
commit8a78fa6115e24a42495d19365d73b8c69c68d54d
tree7a416f59a84a573575ff193e878d320bd756300b
parent57d78d33bedce710a7fb64c44b47d1cd0eed6fdc
examples/vhost_xen: fix 32-bit build

Compilation fails on 32 bits on Vhost_xen sample app, due to wrong casting:

examples/vhost_xen/vhost_monitor.c: In function ‘new_device’:
examples/vhost_xen/vhost_monitor.c:288:62: error: cast from pointer to integer
                               of different size [-Werror=pointer-to-int-cast]

Fixes: 47bd46112b71 ("xen: import xenvirt pmd and vhost_xen")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
examples/vhost_xen/vhost_monitor.c