[PATCH 2/2] winecoreaudio.drv: Don't print 32-bit values as long integers. (Clang)

Alexandre Julliard julliard at winehq.org
Sun Feb 21 22:32:09 CST 2016


Ken Thomases <ken at codeweavers.com> writes:

> On Feb 20, 2016, at 8:26 AM, Andrew Eikum <aeikum at codeweavers.com> wrote:
>> Can we use them in Wine?
>
> No idea.  This is a file that's only compiled on the Mac, so some of the rules may be relaxed.
>
> I'm not sure that such macros are less ugly than casting.  I guess that's up to you and Alexandre.

I don't think that this type of macros would be an improvement over the
casts. For cases where we need to dump a certain type in many different
places, a helper function using wine_dbg_sprintf can be defined.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list