[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [IA64] wrong type cast in ia64_hypercall



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 81aae0c1487e174c664be55a4be22ca80bdaa265
# Parent  2ff0ade58aabe13f68675c76c76e34b4685438f2
[IA64] wrong type cast in ia64_hypercall

This is wrong type cast.
This patch fix warnning of incompatible pointer type.

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

diff -r 2ff0ade58aab -r 81aae0c1487e xen/arch/ia64/xen/hypercall.c
--- a/xen/arch/ia64/xen/hypercall.c     Fri Feb 17 21:42:02 2006
+++ b/xen/arch/ia64/xen/hypercall.c     Fri Feb 17 21:49:58 2006
@@ -63,7 +63,7 @@
 int
 ia64_hypercall (struct pt_regs *regs)
 {
-       struct vcpu *v = (struct domain *) current;
+       struct vcpu *v = current;
        struct sal_ret_values x;
        unsigned long *tv, *tc;
        int pi;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.