summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixKey.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 /unix/tkUnixKey.c
parentd7354274f34de595efa76a3ce4a5f3225ef176c4 (diff)
downloadtk-43cfbcbda332e1e6b93a41f0ac7a2c98be3bb1f6.zip
tk-43cfbcbda332e1e6b93a41f0ac7a2c98be3bb1f6.tar.gz
tk-43cfbcbda332e1e6b93a41f0ac7a2c98be3bb1f6.tar.bz2
Fix building against Tcl 8.6 headers
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r--unix/tkUnixKey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c
index 008030a..16adcf3 100644
--- a/unix/tkUnixKey.c
+++ b/unix/tkUnixKey.c
@@ -175,7 +175,7 @@ TkpGetString(
len = 0;
}
Tcl_DStringSetLength(&buf, len);
- Tcl_ExternalToUtfDStringEx(NULL, Tcl_DStringValue(&buf), len, TCL_ENCODING_NOCOMPLAIN, dsPtr);
+ (void)Tcl_ExternalToUtfDStringEx(NULL, Tcl_DStringValue(&buf), len, TCL_ENCODING_NOCOMPLAIN, dsPtr);
Tcl_DStringFree(&buf);
#endif /* X_HAVE_UTF8_STRING */
} else