Messages in this thread | | | Subject | Re: [PATCH 2/3] trace-cmd: fix printf compile warnings | From | Steven Rostedt <> | Date | Wed, 03 Feb 2010 12:21:56 -0500 |
| |
On Wed, 2010-02-03 at 09:12 -0800, Darren Hart wrote:
> > Of the three patches, I think this is the only one that is correct ;-) > > The other appear to depend on the guint arch specific implementation of > the guint64 type, so the only way to fix it with a cast to ull - or to > not use g types at all. Bleh.
I'm fixing it up by typecasting it to (u64), and defining it.
I probably should never have used guint64 but since that's the "glib" thing to do, and when in Rome do as the Romans do, even if the Romans are doing crap!
-- Steve
| |