From e4a5f559835b0afb4f6ddfe846786022366ba586 Mon Sep 17 00:00:00 2001 From: David Hill Date: Tue, 10 Jul 2012 14:27:16 -0400 Subject: [PATCH] remove useless cast --- spectrwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spectrwm.c b/spectrwm.c index 0980dd5..6242368 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -1526,7 +1526,7 @@ bar_window_name(char *s, size_t sz, struct swm_region *r) if ((title = get_win_name(r->ws->focus->id)) == NULL) return; - strlcat(s, (char *)title, sz); + strlcat(s, title, sz); free(title); } -- 1.7.10.4