summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixFont.c
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 /unix/tkUnixFont.c
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 'unix/tkUnixFont.c')
-rw-r--r--unix/tkUnixFont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixFont.c b/unix/tkUnixFont.c
index a4998aa..1f4a1d4 100644
--- a/unix/tkUnixFont.c
+++ b/unix/tkUnixFont.c
@@ -946,7 +946,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 */
{
FontAttributes atts;