Fix build with YASM
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4116 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/jpeg/simd/jcsammmx.asm b/common/jpeg/simd/jcsammmx.asm
index c7126a0..9e43b2f 100644
--- a/common/jpeg/simd/jcsammmx.asm
+++ b/common/jpeg/simd/jcsammmx.asm
@@ -95,7 +95,7 @@
mov eax, JDIMENSION [v_samp(ebp)] ; rowctr
test eax,eax
- jle short .return
+ jle near .return
mov edx, 0x00010000 ; bias pattern
movd mm7,edx
diff --git a/common/jpeg/simd/jdmrgmmx.asm b/common/jpeg/simd/jdmrgmmx.asm
index f5fa936..b5777a3 100644
--- a/common/jpeg/simd/jdmrgmmx.asm
+++ b/common/jpeg/simd/jdmrgmmx.asm
@@ -253,7 +253,7 @@
movq MMWORD [edi+2*SIZEOF_MMWORD], mmC
sub ecx, byte SIZEOF_MMWORD
- jz short .endcolumn
+ jz near .endcolumn
add edi, byte RGB_PIXELSIZE*SIZEOF_MMWORD ; outptr
add esi, byte SIZEOF_MMWORD ; inptr0