summaryrefslogtreecommitdiff
path: root/src/qcommon/vm_x86_64.c
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-06-01 15:17:18 +0000
committerTim Angus <tim@ngus.net>2013-01-09 22:37:40 +0000
commit22f9847cfff218661fc36d48bcc28117dec5cd14 (patch)
tree01b5b4e541849b9e5184bded4b2f836439eee74a /src/qcommon/vm_x86_64.c
parent55232ad01e1a0a44aabda3d3aeb4764a9ecae822 (diff)
- Add x86_64 support to vm_x86.c - Fix warning on mingw64
Diffstat (limited to 'src/qcommon/vm_x86_64.c')
-rw-r--r--src/qcommon/vm_x86_64.c2
1 files changed, 1 insertions, 1 deletions
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) \