From 22f9847cfff218661fc36d48bcc28117dec5cd14 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 1 Jun 2011 15:17:18 +0000 Subject: - Add x86_64 support to vm_x86.c - Fix warning on mingw64 --- src/qcommon/vm_x86_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qcommon/vm_x86_64.c') diff --git a/src/qcommon/vm_x86_64.c b/src/qcommon/vm_x86_64.c index 7423755a..c77ab6a3 100644 --- a/src/qcommon/vm_x86_64.c +++ b/src/qcommon/vm_x86_64.c @@ -273,7 +273,7 @@ void emit(const char* fmt, ...) #define PREPARE_JMP(reg) \ CHECK_INSTR_REG(reg); \ emit("movq $%"PRIu64", %%rsi", (intptr_t)vm->instructionPointers); \ - emit("movl (%%rsi, %%rax, 4), %%eax"); \ + emit("movl (%%rsi, %%rax, 8), %%eax"); \ emit("addq %%r10, %%rax") #define CHECK_INSTR(nr) \ -- cgit