Author: chromatic
Date: Mon May  5 21:17:57 2008
New Revision: 27329

Modified:
   trunk/src/jit/i386/jit_emit.h

Log:
[JIT] Fixed three often-repeated compiler warnings (RT #53350, reported by
Coke).

Modified: trunk/src/jit/i386/jit_emit.h
==============================================================================
--- trunk/src/jit/i386/jit_emit.h       (original)
+++ trunk/src/jit/i386/jit_emit.h       Mon May  5 21:17:57 2008
@@ -1722,7 +1722,7 @@
     Parrot_jit_emit_get_INTERP(interp, pc, emit_ECX);
     emitm_pushl_r(pc, emit_ECX);
     jit_info->native_ptr = pc;
-    call_func(jit_info, (void *)real_exception);
+    call_func(jit_info, real_exception);
     pc = jit_info->native_ptr;
     /* L1: */
     L1[1] = (char)(pc - L1 - 2);
@@ -1761,7 +1761,7 @@
     Parrot_jit_emit_get_INTERP(interp, pc, emit_ECX);
     emitm_pushl_r(pc, emit_ECX);
     jit_info->native_ptr = pc;
-    call_func(jit_info, (void *)real_exception);
+    call_func(jit_info, real_exception);
     pc = jit_info->native_ptr;
     /* L1: */
     L1[1] = (char)(pc - L1 - 2);
@@ -1955,7 +1955,7 @@
     Parrot_jit_emit_get_INTERP(interp, pc, emit_ECX);
     emitm_pushl_r(pc, emit_ECX);
     jit_info->native_ptr = pc;
-    call_func(jit_info, (void *)real_exception);
+    call_func(jit_info, real_exception);
     pc = jit_info->native_ptr;
     /* L3: */
     L3[1] = (char)(pc - L3 - 2);

Reply via email to