summaryrefslogtreecommitdiff
path: root/lib/libXt/src/Initialize.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-03-10 16:45:50 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-03-10 16:45:50 +0000
commitcc7d66bfcf0d3305ee962a167dd9f4338266ebec (patch)
treebae58760726ce0b349447cac2b5c1859c4737c0f /lib/libXt/src/Initialize.c
parenta5008d58b42532ef26fa9a62407a31e9991a0e39 (diff)
Update to libXt 1.1.2
Diffstat (limited to 'lib/libXt/src/Initialize.c')
-rw-r--r--lib/libXt/src/Initialize.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libXt/src/Initialize.c b/lib/libXt/src/Initialize.c
index e9543dab1..9783debf5 100644
--- a/lib/libXt/src/Initialize.c
+++ b/lib/libXt/src/Initialize.c
@@ -417,9 +417,9 @@ static void CombineUserDefaults(
XrmDatabase *pdb)
{
#ifdef __MINGW32__
- char *slashDotXdefaults = "/Xdefaults";
+ const char *slashDotXdefaults = "/Xdefaults";
#else
- char *slashDotXdefaults = "/.Xdefaults";
+ const char *slashDotXdefaults = "/.Xdefaults";
#endif
char *dpy_defaults = XResourceManagerString(dpy);
@@ -559,9 +559,9 @@ XrmDatabase XtScreenDatabase(
if (!(filename = getenv("XENVIRONMENT"))) {
int len;
#ifdef __MINGW32__
- char *slashDotXdefaultsDash = "/Xdefaults-";
+ const char *slashDotXdefaultsDash = "/Xdefaults-";
#else
- char *slashDotXdefaultsDash = "/.Xdefaults-";
+ const char *slashDotXdefaultsDash = "/.Xdefaults-";
#endif
(void) GetRootDirName(filename = filenamebuf,