qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix warning on 32-bit hosts
@ 2009-09-08 10:46 Kirill A. Shutemov
  2009-09-09 13:42 ` [Qemu-devel] " Luiz Capitulino
  0 siblings, 1 reply; 2+ messages in thread
From: Kirill A. Shutemov @ 2009-09-08 10:46 UTC (permalink / raw)
  To: qemu-devel, Luiz Capitulino; +Cc: Kirill A. Shutemov

  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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Qemu-devel] Re: [PATCH] Fix warning on 32-bit hosts
  2009-09-08 10:46 [Qemu-devel] [PATCH] Fix warning on 32-bit hosts Kirill A. Shutemov
@ 2009-09-09 13:42 ` Luiz Capitulino
  0 siblings, 0 replies; 2+ messages in thread
From: Luiz Capitulino @ 2009-09-09 13:42 UTC (permalink / raw)
  To: Kirill A. Shutemov; +Cc: qemu-devel

On Tue,  8 Sep 2009 13:46:42 +0300
"Kirill A. Shutemov" <kirill@shutemov.name> wrote:

>   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>

 We already have a better fix on the list, but thanks anyway.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-09 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-08 10:46 [Qemu-devel] [PATCH] Fix warning on 32-bit hosts Kirill A. Shutemov
2009-09-09 13:42 ` [Qemu-devel] " Luiz Capitulino

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).