summaryrefslogtreecommitdiff
path: root/libre/syslinux/syslinux-6.02-fix-bios-isolinux.patch
blob: 48df46f129bf577bdbc5044dd5437157fa030439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/core/isolinux.asm b/core/isolinux.asm
index bd4e9556922d..c4db4133e274 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -420,7 +420,7 @@ MaxLMA		equ 384*1024		; Reasonable limit (384K)
 		call getlinsec
 		pop eax
 		pop cx
-		mov dx,cx
+		movzx edx,cx
 		pop bp
 		pop bx