summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXFont.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-13 22:56:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-13 22:56:06 (GMT)
commitd769a99306bdee4395fbfbb4a5d5992e64cf05eb (patch)
tree890fa1a5ee3ec6d237293229f2c0743078d8dd5c /macosx/tkMacOSXFont.c
parent1461ef774b5d7a13d2fd853d3455fdc626ad2541 (diff)
downloadtk-d769a99306bdee4395fbfbb4a5d5992e64cf05eb.zip
tk-d769a99306bdee4395fbfbb4a5d5992e64cf05eb.tar.gz
tk-d769a99306bdee4395fbfbb4a5d5992e64cf05eb.tar.bz2
Tcl_LinkVar doesn't need typecast any more (starting with Tcl 8.7)
Diffstat (limited to 'macosx/tkMacOSXFont.c')
-rw-r--r--macosx/tkMacOSXFont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c
index 05a6942..fa27b35 100644
--- a/macosx/tkMacOSXFont.c
+++ b/macosx/tkMacOSXFont.c
@@ -1556,7 +1556,7 @@ TkMacOSXUseAntialiasedText(
Tcl_ResetResult(interp);
}
if (Tcl_LinkVar(interp, "::tk::mac::antialiasedtext",
- (char *) &antialiasedTextEnabled,
+ &antialiasedTextEnabled,
TCL_LINK_INT) != TCL_OK) {
Tcl_ResetResult(interp);
}