diff --git a/unix/tkUnixFont.c b/unix/tkUnixFont.c index 0e61c0b37..145f0dc98 100644 --- a/unix/tkUnixFont.c +++ b/unix/tkUnixFont.c @@ -254,7 +254,7 @@ static int SeenName(const char *name, Tcl_DString *dsPtr); */ static XFontStruct * -XLoadQueryFontNoXError(Display *display, char *name) +XLoadQueryFontNoXError(Display *display, const char *name) { XFontStruct *fontStructPtr = NULL; Tk_ErrorHandler handler;