|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] Re: [PATCH 07/10] ac97: sizeof returns unsigned long |
Date: | Wed, 28 Oct 2009 16:50:31 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 |
On 10/28/2009 04:41 PM, malc wrote:
> > sizeof returns size_t (%zX), so this is wrong> > size_t is long on all practical platforms except ia64-hpux and Win64, so this > is not more wrong than it was before.Yea right, except that's it's not long on any 32bit platform, at least not from gcc's -Wformat point of view.
Still an improvement (wrong code vs. warning)... you are a committer, you can fix it yourself if it bothers you...
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |