diff options
Diffstat (limited to 'app/oclock/oclock.c')
-rw-r--r-- | app/oclock/oclock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/oclock/oclock.c b/app/oclock/oclock.c index e36d80ce6..24098a958 100644 --- a/app/oclock/oclock.c +++ b/app/oclock/oclock.c @@ -123,13 +123,13 @@ main(int argc, char *argv[]) XtSetArg (arg[i], XtNiconPixmap, XCreateBitmapFromData (XtDisplay(toplevel), XtScreen(toplevel)->root, - (char *)oclock_bits, + (const char *)oclock_bits, oclock_width, oclock_height)); i++; XtSetArg (arg[i], XtNiconMask, XCreateBitmapFromData (XtDisplay(toplevel), XtScreen(toplevel)->root, - (char *)oclmask_bits, + (const char *)oclmask_bits, oclmask_width, oclmask_height)); i++; XtSetValues (toplevel, arg, i); @@ -154,7 +154,7 @@ static void quit(Widget w, XEvent *event, String *params, Cardinal *num_params) Arg arg; if (event->type == ClientMessage && - event->xclient.data.l[0] != wm_delete_window) { + (Atom)event->xclient.data.l[0] != wm_delete_window) { #ifdef XKB XkbStdBell(XtDisplay(w), XtWindow(w), 0, XkbBI_BadValue); #else |