[RFA record/replay] cast to avoid compiler warning

Michael Snyder msnyder@vmware.com
Sun Oct 5 20:35:00 GMT 2008


Eli Zaretskii wrote:
>> Date: Sun, 05 Oct 2008 11:25:57 -0700
>> From: Michael Snyder <msnyder@vmware.com>
>>
>> OK.  So, would you favor using the "%zd" modifier instead of a cast?
> 
> What's wrong with casting to "unsigned long" and using %lu?

I know when to give up!   ;-)

Like this, then:


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sizeof.txt
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20081005/786cef8f/attachment.txt>


More information about the Gdb-patches mailing list