diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-03 11:55:39 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-03 11:55:39 (GMT) |
commit | 43cfbcbda332e1e6b93a41f0ac7a2c98be3bb1f6 (patch) | |
tree | 2ce3e25b2d948e755ff25408a3bdc10f32fa3fd8 /unix/tkUnixKey.c | |
parent | d7354274f34de595efa76a3ce4a5f3225ef176c4 (diff) | |
download | tk-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.c | 2 |
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 |