|
From: | Avi Kivity |
Subject: | [Qemu-devel] Re: [PATCH RFC 0/3] QEMU Object Model |
Date: | Thu, 06 Aug 2009 17:06:32 +0300 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |