diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-13 16:17:55 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-13 16:22:46 -0700 |
commit | 6d55831ae7d1c27a6f4851449b830c248b693bfe (patch) | |
tree | 5347bed42f210d489e88b4069510d0a8325c8807 /oclock.c | |
parent | 88045db6c44a118e96d1f76e7ba4e636d47101fc (diff) |
Declare bitmap data as const
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'oclock.c')
-rw-r--r-- | oclock.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |