summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2013-06-02 21:10:27 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-06-06 22:18:22 -0700
commite46ecb4e02b7f919b11efa79448d4db71d1deb69 (patch)
tree7540350c6e79808983fa6e2589e74a75ca570d7f
parent474d22468c90f99104873b4c5fd7b0f0d2cbf823 (diff)
Fix a const issue.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/StrToGrav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StrToGrav.c b/src/StrToGrav.c
index ca8bb53..e7ad699 100644
--- a/src/StrToGrav.c
+++ b/src/StrToGrav.c
@@ -106,7 +106,7 @@ Boolean
XmuCvtGravityToString(Display *dpy, XrmValue *args, Cardinal *num_args,
XrmValue *fromVal, XrmValue *toVal, XtPointer *data)
{
- static char *buffer;
+ static const char *buffer;
Cardinal size;
struct _namepair *np;
XtGravity gravity;