OSDN Git Service

tools lib traceevent: Fix build failure on 32-bit arch
authorNamhyung Kim <namhyung@kernel.org>
Fri, 24 Apr 2015 01:45:16 +0000 (10:45 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 24 Apr 2015 15:47:10 +0000 (12:47 -0300)
commit410ceb8f2f1d4edeb02d229ef192e76602005b8b
treef16c6033a4fe183e3c8a2d9e96187383285ca1fd
parent4ad1f4300e3bddf63109aa63cfb2d37e8585ecc7
tools lib traceevent: Fix build failure on 32-bit arch

In my i386 build, it failed like this:

    CC       event-parse.o
  event-parse.c: In function 'print_str_arg':
  event-parse.c:3868:5: warning: format '%lu' expects argument of type 'long unsigned int',
                        but argument 3 has type 'uint64_t' [-Wformat]

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Javi Merino <javi.merino@arm.com>
Link: http://lkml.kernel.org/r/20150424020218.GF1905@sejong
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c