diff options
| author | Jiri Olsa <[email protected]> | 2012-03-20 18:15:39 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-03-22 18:11:18 +0000 |
| commit | 9fafd98f1bf14276f95b69f0186ad5675f1e1a18 (patch) | |
| tree | 16709d704a5b1b8adb0a30ebf03425e8d95af17d /lib/string_helpers.c | |
| parent | perf tools: Simplify event_read_id exit path (diff) | |
| download | kernel-9fafd98f1bf14276f95b69f0186ad5675f1e1a18.tar.gz kernel-9fafd98f1bf14276f95b69f0186ad5675f1e1a18.zip | |
perf tools: Fix various casting issues for 32 bits
- util/parse-events.c(parse_events_add_breakpoint)
need to use unsigned long instead of u64, otherwise
we get following gcc error on 32 bits:
error: cast from pointer to integer of different size
- util/header.c(print_event_desc)
cannot retype to signed type, otherwise we get following
gcc error on 32 bits:
error: comparison between signed and unsigned integer expressions
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
