Skip to content

Commit f2b81c0

Browse files
committed
Fix warning when building on Linux.
1 parent 850d032 commit f2b81c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unix/tkUnixFont.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ static int SeenName(const char *name, Tcl_DString *dsPtr);
254254
*/
255255

256256
static XFontStruct *
257-
XLoadQueryFontNoXError(Display *display, char *name)
257+
XLoadQueryFontNoXError(Display *display, const char *name)
258258
{
259259
XFontStruct *fontStructPtr = NULL;
260260
Tk_ErrorHandler handler;

0 commit comments

Comments
 (0)