summaryrefslogtreecommitdiffstats
path: root/win/tkWinKey.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-03 11:55:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-03 11:55:39 (GMT)
commit43cfbcbda332e1e6b93a41f0ac7a2c98be3bb1f6 (patch)
tree2ce3e25b2d948e755ff25408a3bdc10f32fa3fd8 /win/tkWinKey.c
parentd7354274f34de595efa76a3ce4a5f3225ef176c4 (diff)
downloadtk-43cfbcbda332e1e6b93a41f0ac7a2c98be3bb1f6.zip
tk-43cfbcbda332e1e6b93a41f0ac7a2c98be3bb1f6.tar.gz
tk-43cfbcbda332e1e6b93a41f0ac7a2c98be3bb1f6.tar.bz2
Fix building against Tcl 8.6 headers
Diffstat (limited to 'win/tkWinKey.c')
-rw-r--r--win/tkWinKey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinKey.c b/win/tkWinKey.c
index ebd39e0..a8257af 100644
--- a/win/tkWinKey.c
+++ b/win/tkWinKey.c
@@ -104,7 +104,7 @@ TkpGetString(
if (keyEv->send_event == -1) {
TkKeyEvent *ev = (TkKeyEvent *)keyEv;
if (ev->nbytes > 0) {
- Tcl_ExternalToUtfDStringEx(TkWinGetKeyInputEncoding(),
+ (void)Tcl_ExternalToUtfDStringEx(TkWinGetKeyInputEncoding(),
ev->trans_chars, ev->nbytes, TCL_ENCODING_NOCOMPLAIN, dsPtr);
}
} else if (keyEv->send_event == -3) {