~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to windowbox.c

  • Committer: Matthew Fuller
  • Date: 2016-05-28 06:24:19 UTC
  • mto: This revision was merged to the branch mainline in revision 492.
  • Revision ID: fullermd@over-yonder.net-20160528062419-haucmys30w8g471d
Stop casting return values of [mc]alloc().  void * has existed for 27
years now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
#if 0
44
44
        printf("addWindowBox : name = %s, geometry = %s\n", boxname, geometry);
45
45
#endif
46
 
        winbox = (WindowBox *) malloc(sizeof(WindowBox));
 
46
        winbox = malloc(sizeof(WindowBox));
47
47
        winbox->next     = NULL;
48
48
        winbox->name     = strdup(boxname);
49
49
        winbox->geometry = strdup(geometry);