Skip to content

Commit

Permalink
Fix warning when building on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
fvogelnew1 committed Jan 4, 2025
1 parent 850d032 commit f2b81c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix/tkUnixFont.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f2b81c0

Please sign in to comment.