aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib
diff options
context:
space:
mode:
authorJonathan Boeing <jonathan.n.boeing@gmail.com>2015-02-09 20:01:34 -0700
committerGene Cumm <gene.cumm@gmail.com>2015-05-03 10:49:11 -0400
commit6c0ab8ba85a4324970bf37adfcc91b75ebd2a3ce (patch)
treef58c58a96506978ca0b52305f7ae05fd750b1eba /com32/lib
parenta66d04f09e00643aeb1ea9730b6235e352dda99f (diff)
downloadsyslinux-6c0ab8ba85a4324970bf37adfcc91b75ebd2a3ce.tar.gz
syslinux-6c0ab8ba85a4324970bf37adfcc91b75ebd2a3ce.tar.xz
syslinux-6c0ab8ba85a4324970bf37adfcc91b75ebd2a3ce.zip
Use z width specifier when printing size_t variable
Fixes the warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'size_t' Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
Diffstat (limited to 'com32/lib')
-rw-r--r--com32/lib/syslinux/load_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/syslinux/load_linux.c b/com32/lib/syslinux/load_linux.c
index fc7f04f0..26c39c1a 100644
--- a/com32/lib/syslinux/load_linux.c
+++ b/com32/lib/syslinux/load_linux.c
@@ -254,7 +254,7 @@ int bios_boot_linux(void *kernel_buf, size_t kernel_size,
cmdline_offset = calc_cmdline_offset(mmap, &hdr, cmdline_size,
real_mode_base,
real_mode_base + real_mode_size);
- dprintf("cmdline_offset at 0x%x\n", real_mode_base + cmdline_offset);
+ dprintf("cmdline_offset at 0x%zx\n", real_mode_base + cmdline_offset);
if (hdr.version < 0x020a) {
/*