From f2b81c04a6a2e3f305970a17b55db3bf7986fd96 Mon Sep 17 00:00:00 2001 From: fvogel Date: Sat, 4 Jan 2025 14:17:12 +0000 Subject: [PATCH] Fix warning when building on Linux. --- unix/tkUnixFont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;