sourcepawn/jit/x86/opcode_helpers.cpp
changeset 350 1e4e30f7d6ca
parent 241 5444b56b5ba6
child 367 16458628caa0
     1.1 --- a/sourcepawn/jit/x86/opcode_helpers.cpp	Thu Jan 25 06:22:03 2007 +0000
     1.2 +++ b/sourcepawn/jit/x86/opcode_helpers.cpp	Thu Jan 25 08:31:52 2007 +0000
     1.3 @@ -429,9 +429,9 @@
     1.4  	jitoffs_t call = IA32_Call_Imm32(jit, 0);
     1.5  	if (!data->debug)
     1.6  	{
     1.7 -		IA32_Write_Jump32_Abs(jit, call, NativeCallback);
     1.8 +		IA32_Write_Jump32_Abs(jit, call, (void *)NativeCallback);
     1.9  	} else {
    1.10 -		IA32_Write_Jump32_Abs(jit, call, NativeCallback_Debug);
    1.11 +		IA32_Write_Jump32_Abs(jit, call, (void *)NativeCallback_Debug);
    1.12  	}
    1.13  
    1.14  	/* Test for error */
    1.15 @@ -656,9 +656,9 @@
    1.16  	jitoffs_t call = IA32_Call_Imm32(jit, 0);
    1.17  	if (!data->debug)
    1.18  	{
    1.19 -		IA32_Write_Jump32_Abs(jit, call, NativeCallback);
    1.20 +		IA32_Write_Jump32_Abs(jit, call, (void *)NativeCallback);
    1.21  	} else {
    1.22 -		IA32_Write_Jump32_Abs(jit, call, NativeCallback_Debug);
    1.23 +		IA32_Write_Jump32_Abs(jit, call, (void *)NativeCallback_Debug);
    1.24  	}
    1.25  
    1.26  	/* Test for error */
    1.27 @@ -714,7 +714,7 @@
    1.28  	IA32_Mov_Reg_Rm_Disp8(jit, REG_EAX, AMX_REG_INFO, AMX_INFO_CONTEXT);
    1.29  	IA32_Push_Reg(jit, REG_EAX);
    1.30  	jitoffs_t call = IA32_Call_Imm32(jit, 0);
    1.31 -	IA32_Write_Jump32_Abs(jit, call, JIT_VerifyOrAllocateTracker);
    1.32 +	IA32_Write_Jump32_Abs(jit, call, (void *)JIT_VerifyOrAllocateTracker);
    1.33  
    1.34  	/* Check for errors */
    1.35  	//cmp eax, 0