From cbb9b5e31d8d0a84db17363fd411886c2d364d2a Mon Sep 17 00:00:00 2001 From: tma Date: Tue, 6 Oct 2009 17:56:36 +0000 Subject: * Fix bad syntax in 64bit assembler (Undeference) git-svn-id: svn://svn.icculus.org/quake3/trunk@1647 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/vm_x86_64_assembler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/qcommon') diff --git a/code/qcommon/vm_x86_64_assembler.c b/code/qcommon/vm_x86_64_assembler.c index 1eda764..51c636a 100644 --- a/code/qcommon/vm_x86_64_assembler.c +++ b/code/qcommon/vm_x86_64_assembler.c @@ -593,7 +593,7 @@ static void emit_mov(const char* mnemonic, arg_t arg1, arg_t arg2, void* data) crap("value too large for 16bit register"); emit1(0x66); } - else if(!arg2.v.reg & R_64) + else if(!(arg2.v.reg & R_64)) { if(!isu32(arg1.v.imm)) crap("value too large for 32bit register"); -- cgit v1.2.3