]> git.proxmox.com Git - mirror_qemu.git/blobdiff - linux-user/elfload.c
exec: Use uintptr_t for guest_base
[mirror_qemu.git] / linux-user / elfload.c
index f5bd4076fcf5043b397456bfbf8c14fe9106b168..7ec9249c256f9595ec02cf4522b5b3a178c52f1f 100644 (file)
@@ -2135,9 +2135,9 @@ static void pgb_have_guest_base(const char *image_name, abi_ulong guest_loaddr,
     void *addr, *test;
 
     if (!QEMU_IS_ALIGNED(guest_base, align)) {
-        fprintf(stderr, "Requested guest base 0x%lx does not satisfy "
+        fprintf(stderr, "Requested guest base %p does not satisfy "
                 "host minimum alignment (0x%lx)\n",
-                guest_base, align);
+                (void *)guest_base, align);
         exit(EXIT_FAILURE);
     }