~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to client/demolib.c

  • Committer: Matthew Fuller
  • Date: 2016-06-10 11:49:43 UTC
  • mto: This revision was merged to the branch mainline in revision 495.
  • Revision ID: fullermd@over-yonder.net-20160610114943-pv9au9ojwdq4eq32
Mechanical replacement of inline "(sometype *)0" constructs with NULL,
like pointers should be.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        /****************************************************************/
58
58
 
59
59
        wlist = CtwmListWorkspaces(dpy, 0);
60
 
        if(wlist == (char **) 0) {
 
60
        if(wlist == NULL) {
61
61
                fprintf(stderr, "cannot obtain workspaces list\n");
62
62
                exit(1);
63
63
        }
88
88
        /****************************************************************/
89
89
 
90
90
        wlist = CtwmCurrentOccupation(dpy, awindow);
91
 
        if(wlist == (char **) 0) {
 
91
        if(wlist == NULL) {
92
92
                fprintf(stderr, "cannot obtain occupation of window %lu\n", awindow);
93
93
                exit(1);
94
94
        }