JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
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 0980dd5..6242368 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);
 }