From patchwork Fri Sep 4 17:01:51 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Riteau X-Patchwork-Id: 33007 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 40B9CB7B61 for ; Sat, 5 Sep 2009 03:09:44 +1000 (EST) Received: from localhost ([127.0.0.1]:34410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjcI9-00046L-Cd for incoming@patchwork.ozlabs.org; Fri, 04 Sep 2009 13:09:41 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjcAu-0000lh-7z for qemu-devel@nongnu.org; Fri, 04 Sep 2009 13:02:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjcAp-0000iM-KT for qemu-devel@nongnu.org; Fri, 04 Sep 2009 13:02:11 -0400 Received: from [199.232.76.173] (port=39739 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjcAp-0000iE-D3 for qemu-devel@nongnu.org; Fri, 04 Sep 2009 13:02:07 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:52272) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1MjcAo-0008Hp-HR for qemu-devel@nongnu.org; Fri, 04 Sep 2009 13:02:06 -0400 X-IronPort-AV: E=Sophos;i="4.44,333,1249250400"; d="scan'208";a="33743468" Received: from elfe.irisa.fr (HELO localhost.localdomain) ([131.254.60.12]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 04 Sep 2009 19:02:02 +0200 From: Pierre Riteau To: qemu-devel@nongnu.org Date: Fri, 4 Sep 2009 19:01:51 +0200 Message-Id: <1252083711-13099-1-git-send-email-Pierre.Riteau@irisa.fr> X-Mailer: git-send-email 1.6.3.3 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Pierre Riteau Subject: [Qemu-devel] [PATCH] Fix compilation of check-qint.c by using a long long integer constant X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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..b931d47 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 = 0xfffffffffffffffLL; qi = qint_from_int(value); fail_unless(qi->value == value);