This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA record/replay] cast to avoid compiler warning


> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]