summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-16 09:37:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-16 09:37:12 (GMT)
commit2b27bfdd758f6c35adfaf96148424d06f51c9292 (patch)
tree7465ca15ecd709c305220786dadca2fa2b2acc90 /win
parentd7f29e1ccf269fa5f4cb2cd8d02f35193ebc67be (diff)
downloadtk-2b27bfdd758f6c35adfaf96148424d06f51c9292.zip
tk-2b27bfdd758f6c35adfaf96148424d06f51c9292.tar.gz
tk-2b27bfdd758f6c35adfaf96148424d06f51c9292.tar.bz2
Make Tk compile warning-free against TIP-389-enabled Tcl 8.7. No change of functionality, since font-names generally don't contain out-of-BMP Unicode characters (if they do in the future, that still can be fixed then).
Diffstat (limited to 'win')
-rw-r--r--win/tkWinFont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinFont.c b/win/tkWinFont.c
index 9172b00..7b5e4c9 100644
--- a/win/tkWinFont.c
+++ b/win/tkWinFont.c
@@ -743,7 +743,7 @@ void
TkpGetFontAttrsForChar(
Tk_Window tkwin, /* Window on the font's display */
Tk_Font tkfont, /* Font to query */
- Tcl_UniChar c, /* Character of interest */
+ int c, /* Character of interest */
TkFontAttributes *faPtr) /* Output: Font attributes */
{
WinFont *fontPtr = (WinFont *) tkfont;