Fixes the following compilation error on x86-64:

    CC       arch/x86/call.o
  arch/x86/call.c:257: error: conflicting types for ‘native_call’
  include/vm/call.h:82: error: previous declaration of ‘native_call’ was here

Cc: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro>
Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi>
---
 arch/x86/call.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/call.c b/arch/x86/call.c
index 064bfdf..bce0a81 100644
--- a/arch/x86/call.c
+++ b/arch/x86/call.c
@@ -255,7 +255,7 @@ static unsigned long vm_native_call_gp(struct vm_method 
*method,
  * pointer. Call result will be stored in @result.
  */
 void native_call(struct vm_method *method,
-                const void *target,
+                void *target,
                 unsigned long *args,
                 union jvalue *result)
 {
-- 
1.6.0.4


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to