]> code.delx.au - spectrwm/commitdiff
remove useless cast
authorDavid Hill <dhill@conformal.com>
Tue, 10 Jul 2012 18:27:16 +0000 (14:27 -0400)
committerReginald Kennedy <rk@rejii.com>
Fri, 20 Jul 2012 21:58:31 +0000 (05:58 +0800)
spectrwm.c

index 0980dd5f48fb27fe755b77e9f231f68be450a814..62423688410f5ce1ed825c3b3303c3bff2974f23 100644 (file)
@@ -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);
 }