mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 18:12:36 +03:00
Fix compiler warnings that appear only on OpenBSD.
This commit is contained in:
@@ -344,7 +344,7 @@ static int bzimage_exec ( struct image *image ) {
|
||||
shutdown();
|
||||
|
||||
DBGC ( image, "bzImage %p jumping to RM kernel at %04x:0000 "
|
||||
"(stack %04x:%04x)\n", image,
|
||||
"(stack %04x:%04zx)\n", image,
|
||||
( exec_ctx.rm_kernel_seg + 0x20 ),
|
||||
exec_ctx.rm_kernel_seg, exec_ctx.rm_heap );
|
||||
|
||||
|
||||
@@ -233,7 +233,7 @@ static int nbi_process_segments ( struct image *image,
|
||||
} while ( ! NBI_LAST_SEGHEADER ( sh.flags ) );
|
||||
|
||||
if ( offset != image->len ) {
|
||||
DBGC ( image, "NBI %p length wrong (file %d, metadata %d)\n",
|
||||
DBGC ( image, "NBI %p length wrong (file %zd, metadata %zd)\n",
|
||||
image, image->len, offset );
|
||||
return -ENOEXEC;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user