All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] silence warning in exec.c
Date: Sun, 18 May 2008 11:23:20 +0200	[thread overview]
Message-ID: <482FF588.4030309@web.de> (raw)

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>

Index: qemu/exec.c
===================================================================
--- qemu/exec.c	(Revision 4488)
+++ qemu/exec.c	(Arbeitskopie)
@@ -2142,8 +2142,8 @@ ram_addr_t qemu_ram_alloc(ram_addr_t siz
 {
     ram_addr_t addr;
     if ((phys_ram_alloc_offset + size) > phys_ram_size) {
-        fprintf(stderr, "Not enough memory (requested_size = %lu, max memory = %ld)\n",
-                size, phys_ram_size);
+        fprintf(stderr, "Not enough memory (requested_size = %llu, max memory = %llu)\n",
+                (unsigned long long) size, (unsigned long long) phys_ram_size);
         abort();
     }
     addr = phys_ram_alloc_offset;

                 reply	other threads:[~2008-05-18  9:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=482FF588.4030309@web.de \
    --to=jan.kiszka@web.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.