Skip to content

Commit b77df0d

Browse files
author
jan.nijtmans
committed
(cherry-pick): Fix warning when building on Linux
2 parents 68aab9f + 1137fda commit b77df0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: unix/tkUnixFont.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ static int UtfToUcs2beProc(void *clientData, const char*src,
264264
*/
265265

266266
static XFontStruct *
267-
XLoadQueryFontNoXError(Display *display, char *name)
267+
XLoadQueryFontNoXError(Display *display, const char *name)
268268
{
269269
XFontStruct *fontStructPtr = NULL;
270270
Tk_ErrorHandler handler;

0 commit comments

Comments
 (0)