Hi,

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

Signed-off-by: Akio Takebe <[EMAIL PROTECTED]>

diff -r 982b9678af2c xen/arch/ia64/xen/hypercall.c
--- a/xen/arch/ia64/xen/hypercall.c     Fri Feb 10 23:16:33 2006
+++ b/xen/arch/ia64/xen/hypercall.c     Wed Feb 15 10:15:40 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-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

Reply via email to