summaryrefslogtreecommitdiffstats
path: root/InfoScreen.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-28 12:17:52 +0200
committercgzones <cgzones@googlemail.com>2020-09-29 10:44:42 +0200
commit843949131aa75312086bea6a50408e09d82f5209 (patch)
tree00d7428e6df17e48ca6c77e703b225c7e3cfdf1d /InfoScreen.c
parent214c742ae176078c3b081e1598b3fbf0cc122f77 (diff)
Drop redundant casts to the same type
Diffstat (limited to 'InfoScreen.c')
-rw-r--r--InfoScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/InfoScreen.c b/InfoScreen.c
index 8a6a3bee..b8859af0 100644
--- a/InfoScreen.c
+++ b/InfoScreen.c
@@ -57,7 +57,7 @@ void InfoScreen_addLine(InfoScreen* this, const char* line) {
Vector_add(this->lines, (Object*) ListItem_new(line, 0));
const char* incFilter = IncSet_filter(this->inc);
if (!incFilter || String_contains_i(line, incFilter))
- Panel_add(this->display, (Object*)Vector_get(this->lines, Vector_size(this->lines)-1));
+ Panel_add(this->display, Vector_get(this->lines, Vector_size(this->lines)-1));
}
void InfoScreen_appendLine(InfoScreen* this, const char* line) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy