From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZ3Wj-0002YV-No for qemu-devel@nongnu.org; Thu, 06 Aug 2009 10:01:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZ3We-0002Vc-SE for qemu-devel@nongnu.org; Thu, 06 Aug 2009 10:01:05 -0400 Received: from [199.232.76.173] (port=49623 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ3We-0002VM-KL for qemu-devel@nongnu.org; Thu, 06 Aug 2009 10:01:00 -0400 Received: from mx2.redhat.com ([66.187.237.31]:51837) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZ3Wd-00050k-VZ for qemu-devel@nongnu.org; Thu, 06 Aug 2009 10:01:00 -0400 Message-ID: <4A7AE368.2040204@redhat.com> Date: Thu, 06 Aug 2009 17:06:32 +0300 From: Avi Kivity MIME-Version: 1.0 References: <1249566736-5020-1-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1249566736-5020-1-git-send-email-lcapitulino@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH RFC 0/3] QEMU Object Model List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: aliguori@us.ibm.com, filip.navara@gmail.com, qemu-devel@nongnu.org On 08/06/2009 04:52 PM, Luiz Capitulino wrote: > #if TARGET_LONG_BITS == 64 > #define GET_TLONG(qnum) qnumber_get_int64(qnum); > #else > #define GET_TLONG(qnum) qnumber_get_int32(qnum); > #endif > > #define GET_TLONG(qnum) ((target_ulong_t)qnumber_get_uint64(qnum)) That doesn't warn on overflow though. -- error compiling committee.c: too many arguments to function