diff options
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r-- | tools/perf/util/symbol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index b6ab23dd5f9f..6f30fe18c265 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -345,10 +345,10 @@ void dso__sort_by_name(struct dso *self, enum map_type type) | |||
345 | &self->symbols[type]); | 345 | &self->symbols[type]); |
346 | } | 346 | } |
347 | 347 | ||
348 | int build_id__sprintf(u8 *self, int len, char *bf) | 348 | int build_id__sprintf(const u8 *self, int len, char *bf) |
349 | { | 349 | { |
350 | char *bid = bf; | 350 | char *bid = bf; |
351 | u8 *raw = self; | 351 | const u8 *raw = self; |
352 | int i; | 352 | int i; |
353 | 353 | ||
354 | for (i = 0; i < len; ++i) { | 354 | for (i = 0; i < len; ++i) { |