summaryrefslogtreecommitdiff
path: root/oclock.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-08-13 16:17:55 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-08-13 16:22:46 -0700
commit6d55831ae7d1c27a6f4851449b830c248b693bfe (patch)
tree5347bed42f210d489e88b4069510d0a8325c8807 /oclock.c
parent88045db6c44a118e96d1f76e7ba4e636d47101fc (diff)
Declare bitmap data as const
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'oclock.c')
-rw-r--r--oclock.c4
1 files changed, 2 insertions, 2 deletions
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);