Re: [PATCH 05/10] perf hists: Fixup addr snprintf width on 32 bit arches

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joe Perches
Date: Friday, August 6, 2010 - 8:40 am

On Fri, 2010-08-06 at 08:35 -0700, Joe Perches wrote:

Oops.

On the other hand, "%p", (void *) would compile
without warnings and be what I meant in the first
place...

snprintf(loc, size, "%p", (void *)long)


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 05/10] perf hists: Fixup addr snprintf width on 32 ..., Arnaldo Carvalho de Melo, (Thu Aug 5, 6:46 pm)
Re: [PATCH 05/10] perf hists: Fixup addr snprintf width on ..., Arnaldo Carvalho de Melo, (Fri Aug 6, 7:29 am)
Re: [PATCH 05/10] perf hists: Fixup addr snprintf width on ..., Joe Perches, (Fri Aug 6, 8:40 am)