qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: qemu-devel@nongnu.org, Luiz Capitulino <lcapitulino@redhat.com>
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
Subject: [Qemu-devel] [PATCH] Fix warning on 32-bit hosts
Date: Tue,  8 Sep 2009 13:46:42 +0300	[thread overview]
Message-ID: <1252406802-29289-1-git-send-email-kirill@shutemov.name> (raw)

  CC    check-qint.o
cc1: warnings being treated as errors
check-qint.c: In function 'qint_from_int64_test':
check-qint.c:46: error: integer constant is too large for 'long' type
make: *** [check-qint.o] Error 1

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
---
 check-qint.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/check-qint.c b/check-qint.c
index ae5d22f..f5c054e 100644
--- a/check-qint.c
+++ b/check-qint.c
@@ -43,7 +43,7 @@ END_TEST
 START_TEST(qint_from_int64_test)
 {
     QInt *qi;
-    const int64_t value = 0xffffffffffffffff;
+    const int64_t value = 0xffffffffffffffffLL;
 
     qi = qint_from_int(value);
     fail_unless(qi->value == value);
-- 
1.6.4.2

             reply	other threads:[~2009-09-08  7:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-08 10:46 Kirill A. Shutemov [this message]
2009-09-09 13:42 ` [Qemu-devel] Re: [PATCH] Fix warning on 32-bit hosts Luiz Capitulino

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=1252406802-29289-1-git-send-email-kirill@shutemov.name \
    --to=kirill@shutemov.name \
    --cc=lcapitulino@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).