aboutsummaryrefslogtreecommitdiff
path: root/libXt/src/Initialize.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXt/src/Initialize.c')
-rw-r--r--libXt/src/Initialize.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libXt/src/Initialize.c b/libXt/src/Initialize.c
index fe13b58b5..d023a3f53 100644
--- a/libXt/src/Initialize.c
+++ b/libXt/src/Initialize.c
@@ -424,9 +424,9 @@ static void CombineUserDefaults(
char *slashDotXdefaults = ".Xdefaults";
#else
#ifdef __MINGW32__
- char *slashDotXdefaults = "/Xdefaults";
+ const char *slashDotXdefaults = "/Xdefaults";
#else
- char *slashDotXdefaults = "/.Xdefaults";
+ const char *slashDotXdefaults = "/.Xdefaults";
#endif
#endif
char *dpy_defaults = XResourceManagerString(dpy);
@@ -574,9 +574,9 @@ XrmDatabase XtScreenDatabase(
char *slashDotXdefaultsDash = "Xdefaults-";
#else
#ifdef __MINGW32__
- char *slashDotXdefaultsDash = "/Xdefaults-";
+ const char *slashDotXdefaultsDash = "/Xdefaults-";
#else
- char *slashDotXdefaultsDash = "/.Xdefaults-";
+ const char *slashDotXdefaultsDash = "/.Xdefaults-";
#endif
#endif