Skip to content

Commit

Permalink
(cherry-pick): Fix warning when building on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Jan 4, 2025
1 parent 2edf7e4 commit 1137fda
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 @@ -262,7 +262,7 @@ static int UtfToUcs2beProc(void *clientData, const char*src,
*/

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 1137fda

Please sign in to comment.