From: Keith Whitwell Date: Wed, 13 Feb 2008 18:29:29 +0000 (+0000) Subject: x86: fix assignment in assert typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a856b399e6a46f2026006402bc6b9125bd23f9a9;p=mesa.git x86: fix assignment in assert typo --- diff --git a/src/mesa/x86/rtasm/x86sse.c b/src/mesa/x86/rtasm/x86sse.c index 1111e8db990..39c0e9b851a 100644 --- a/src/mesa/x86/rtasm/x86sse.c +++ b/src/mesa/x86/rtasm/x86sse.c @@ -820,7 +820,7 @@ static void x87_arith_op( struct x86_function *p, struct x86_reg dst, struct x86 assert(0); } else if (dst.idx == 0) { - assert(arg.file = file_REG32); + assert(arg.file == file_REG32); emit_1ub(p, 0xd8); emit_modrm_noreg(p, argmem_noreg, arg); }