diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2009-05-04 21:07:28 -0700 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-04 21:07:28 -0700 |
| commit | 28027a6a855c1401717663968a3e2fb30832f86c (patch) | |
| tree | 7a71b571bd96e636e288804830163b05c8ac078f /com32/lib/syslinux/load_linux.c | |
| parent | 01edb97d422916de2ba030c50631152fbd3b4b36 (diff) | |
| download | syslinux-28027a6a855c1401717663968a3e2fb30832f86c.tar.gz | |
load_linux.c: quiet warning
Quiet a (harmless) compiler warning.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/lib/syslinux/load_linux.c')
| -rw-r--r-- | com32/lib/syslinux/load_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/syslinux/load_linux.c b/com32/lib/syslinux/load_linux.c index ffc0baae..37d396aa 100644 --- a/com32/lib/syslinux/load_linux.c +++ b/com32/lib/syslinux/load_linux.c @@ -486,7 +486,7 @@ int syslinux_boot_linux(void *kernel_buf, size_t kernel_size, regs.cs = (real_mode_base >> 4)+0x20; /* regs.ip = 0; */ /* Linux is OK with sp = 0 = 64K, but perhaps other things aren't... */ - regs.esp.w[0] = min(cmdline_offset, 0xfff0); + regs.esp.w[0] = min(cmdline_offset, (size_t)0xfff0); #if DEBUG dprintf("Final memory map:\n"); |
