diff options
author | Scot Doyle <lkml14@scotdoyle.com> | 2015-02-07 13:52:05 -0500 |
---|---|---|
committer | Gene Cumm <gene.cumm@gmail.com> | 2015-02-14 14:05:48 -0500 |
commit | 83aad4f69065509ba5b1c080edccfed316a4cff0 (patch) | |
tree | 47f6dfa36204a2edcca1f396fef6ffd3708f6325 | |
parent | 9cb1b0bdf58454c1206ed6f9db8e0d1cdc514979 (diff) | |
download | syslinux-83aad4f69065509ba5b1c080edccfed316a4cff0.tar.gz syslinux-83aad4f69065509ba5b1c080edccfed316a4cff0.tar.xz syslinux-83aad4f69065509ba5b1c080edccfed316a4cff0.zip |
load_linux: correct a type
Correct base's type to match its initialization from prot_mode_base and
passage to syslinux_memmap_find(). Tested with extlinux.
Signed-off-by: Scot Doyle <lkml14@scotdoyle.com>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r-- | com32/lib/syslinux/load_linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/lib/syslinux/load_linux.c b/com32/lib/syslinux/load_linux.c index 06ae2a97..ac737293 100644 --- a/com32/lib/syslinux/load_linux.c +++ b/com32/lib/syslinux/load_linux.c @@ -155,8 +155,8 @@ int bios_boot_linux(void *kernel_buf, size_t kernel_size, char *cmdline) { struct linux_header hdr, *whdr; - size_t real_mode_size, prot_mode_size, base; - addr_t real_mode_base, prot_mode_base, prot_mode_max; + size_t real_mode_size, prot_mode_size; + addr_t real_mode_base, prot_mode_base, prot_mode_max, base; addr_t irf_size; size_t cmdline_size, cmdline_offset; struct setup_data *sdp; |