qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH 07/10] ac97: sizeof returns unsigned long


From: malc
Subject: Re: [Qemu-devel] Re: [PATCH 07/10] ac97: sizeof returns unsigned long
Date: Wed, 28 Oct 2009 18:41:16 +0300 (MSK)

On Wed, 28 Oct 2009, Paolo Bonzini wrote:

> On 10/28/2009 01:53 PM, malc wrote:
> > On Wed, 28 Oct 2009, Juan Quintela wrote:
> > 
> > > This change makes DEBUG_AC97 to compile again
> > 
> > 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.

-- 
mailto:address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]