On Wed, Sep 24, 2014 at 07:20:02AM +0200, Stefan Weil wrote:
> Compiler warning (w32, w64):
> 
> include/hw/virtio/virtio_ring.h:142:26: warning:
>  cast from pointer to integer of different size [-Wpointer-to-int-cast]
> 
> When sizeof(long) < sizeof(void *), this is not only a warning but a
> real program error.
> 
> Add also missing blanks in the same statement.
> 
> Signed-off-by: Stefan Weil <s...@weilnetz.de>
> ---
> 
> Peter, could you please apply this bug fix directly without pull request?
> 
> Thanks
> Stefan
> 
>  include/hw/virtio/virtio_ring.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>

Attachment: pgpiN_Qy7Cs4B.pgp
Description: PGP signature

Reply via email to