[PATCH:libXmu] Fix a const issue.
Thomas Klausner
wiz at NetBSD.org
Sun Jun 2 12:10:27 PDT 2013
---
src/StrToGrav.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
1.8.2.3
More information about the xorg-devel
mailing list