projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tui slang: Tidy casts
[platform/kernel/linux-starfive.git]
/
tools
/
perf
/
ui
/
tui
/
helpline.c
diff --git
a/tools/perf/ui/tui/helpline.c
b/tools/perf/ui/tui/helpline.c
index
db4952f
..
b394513
100644
(file)
--- a/
tools/perf/ui/tui/helpline.c
+++ b/
tools/perf/ui/tui/helpline.c
@@
-22,7
+22,7
@@
static void tui_helpline__push(const char *msg)
SLsmg_gotorc(SLtt_Screen_Rows - 1, 0);
SLsmg_set_color(0);
- SLsmg_write_nstring(
(char *)
msg, SLtt_Screen_Cols);
+ SLsmg_write_nstring(msg, SLtt_Screen_Cols);
SLsmg_refresh();
strlcpy(ui_helpline__current, msg, sz);
}