From 6d55831ae7d1c27a6f4851449b830c248b693bfe Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 13 Aug 2022 16:17:55 -0700 Subject: Declare bitmap data as const Signed-off-by: Alan Coopersmith --- oclock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'oclock.c') diff --git a/oclock.c b/oclock.c index e36d80c..37df634 100644 --- a/oclock.c +++ b/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); -- cgit v1.2.3