qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2] Fix compilation of check-qint.c by using a long long integer constant
@ 2009-09-04 17:09 Pierre Riteau
  2009-09-04 17:29 ` Reimar Döffinger
  2009-09-04 17:38 ` Luiz Capitulino
  0 siblings, 2 replies; 9+ messages in thread
From: Pierre Riteau @ 2009-09-04 17:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: Pierre Riteau

Error was:
check-qint.c:46: error: integer constant is too large for 'long' type
---
 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.3.3

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

end of thread, other threads:[~2009-09-08  9:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-04 17:09 [Qemu-devel] [PATCH v2] Fix compilation of check-qint.c by using a long long integer constant Pierre Riteau
2009-09-04 17:29 ` Reimar Döffinger
2009-09-04 17:49   ` malc
2009-09-05  1:58     ` Jamie Lokier
2009-09-04 17:56   ` Pierre Riteau
2009-09-04 18:25     ` Luiz Capitulino
2009-09-05  8:07       ` Reimar Döffinger
2009-09-08  9:54         ` Pierre Riteau
2009-09-04 17:38 ` 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).