aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.inc b/ui.inc
index ab395674..33d7e597 100644
--- a/ui.inc
+++ b/ui.inc
@@ -514,7 +514,7 @@ kernel_good:
; At this point, DX:AX contains the size of the kernel, SI contains
; the file handle/cluster pointer, and ECX contains the extension (if any.)
;
- mov di,[KernelType]
+ movzx di,byte [KernelType]
add di,di
jmp [kerneltype_table+di]