|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xenalyze: add missing casts to fix 64bit build
Olaf Hering writes ("[Xen-devel] [PATCH] xenalyze: add missing casts to fix
64bit build"):
> xenalyze: add missing casts to fix 64bit build
>
> xenalyze.c: In function 'hvm_mmio_summary':
> xenalyze.c:3728: error: cast from pointer to integer of different size
...
> - int reason=(int)data;
> + int reason=(long)data;
...
> reason=NONPF_MMIO_NPF;
> - hvm_set_summary_handler(h, hvm_mmio_summary, (void *)reason);
> + hvm_set_summary_handler(h, hvm_mmio_summary, (void *)(long)reason);
This is really quite ugly. But I'll leave George to decide what
should be done ...
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |