summaryrefslogtreecommitdiff
path: root/Clock.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-08-06 15:32:20 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-08-06 15:32:20 -0700
commitc94628bef06ea76be371eb0dc8b60bdf0e0009e9 (patch)
tree9de07a9c8703d1d39d3d1d69c446bf9b8ff938e9 /Clock.c
parent6f845b1d5516864e143113ca074e98b7be194adb (diff)
Fix cast to clear sparse warning: Using plain integer as NULL pointer
Diffstat (limited to 'Clock.c')
-rw-r--r--Clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Clock.c b/Clock.c
index 5adbad4..9e3bf48 100644
--- a/Clock.c
+++ b/Clock.c
@@ -1248,7 +1248,7 @@ Redisplay(Widget gw, XEvent *event, Region region)
#endif
w->clock.prev_time_string[0] = '\0';
}
- clock_tic((XtPointer)w, (XtIntervalId)0);
+ clock_tic((XtPointer)w, (XtIntervalId *)NULL);
}
/* ARGSUSED */