From: David Hill Date: Tue, 10 Jul 2012 18:27:16 +0000 (-0400) Subject: remove useless cast X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=e4a5f559835b0afb4f6ddfe846786022366ba586;p=spectrwm.git remove useless cast --- 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); }