summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXHLEvents.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 /macosx/tkMacOSXHLEvents.c
parentd7354274f34de595efa76a3ce4a5f3225ef176c4 (diff)
downloadtk-43cfbcbda332e1e6b93a41f0ac7a2c98be3bb1f6.zip
tk-43cfbcbda332e1e6b93a41f0ac7a2c98be3bb1f6.tar.gz
tk-43cfbcbda332e1e6b93a41f0ac7a2c98be3bb1f6.tar.bz2
Fix building against Tcl 8.6 headers
Diffstat (limited to 'macosx/tkMacOSXHLEvents.c')
-rw-r--r--macosx/tkMacOSXHLEvents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXHLEvents.c b/macosx/tkMacOSXHLEvents.c
index ef6237e..40f9dba 100644
--- a/macosx/tkMacOSXHLEvents.c
+++ b/macosx/tkMacOSXHLEvents.c
@@ -227,7 +227,7 @@ static const char getSdefProc[] = "::tk::mac::GetDynamicSdef";
if (fileURL == nil) {
continue;
}
- Tcl_ExternalToUtfDStringEx(utf8, [[fileURL path] UTF8String], -1,
+ (void)Tcl_ExternalToUtfDStringEx(utf8, [[fileURL path] UTF8String], -1,
TCL_ENCODING_NOCOMPLAIN, &pathName);
Tcl_DStringAppendElement(openCommand, Tcl_DStringValue(&pathName));
Tcl_DStringFree(&pathName);