diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-10-06 17:56:36 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-10-06 17:56:36 +0000 |
commit | cbb9b5e31d8d0a84db17363fd411886c2d364d2a (patch) | |
tree | 475c33d9467bc78315c1e86d4ec1cea29c48e199 /code/qcommon | |
parent | 847d6004693ad11123ab068aabd233880aafc7ef (diff) | |
download | ioquake3-aero-cbb9b5e31d8d0a84db17363fd411886c2d364d2a.tar.gz ioquake3-aero-cbb9b5e31d8d0a84db17363fd411886c2d364d2a.zip |
* Fix bad syntax in 64bit assembler (Undeference)
git-svn-id: svn://svn.icculus.org/quake3/trunk@1647 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-rw-r--r-- | code/qcommon/vm_x86_64_assembler.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |