summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXHLEvents.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-04-15 23:26:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-04-15 23:26:44 (GMT)
commit2cced2c8a8ed9d460fb9a15426354a32709ddd1f (patch)
treee9cb2d4138705d83b307c9e077443366dcdceb56 /macosx/tkMacOSXHLEvents.c
parent14219460ca7cd029d3b9b54ad4d4c15c68668ce8 (diff)
downloadtk-2cced2c8a8ed9d460fb9a15426354a32709ddd1f.zip
tk-2cced2c8a8ed9d460fb9a15426354a32709ddd1f.tar.gz
tk-2cced2c8a8ed9d460fb9a15426354a32709ddd1f.tar.bz2
Handle larger string-lengths in MacOS, when compiling with Tcl 9 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 ee99fce..8e1fff5 100644
--- a/macosx/tkMacOSXHLEvents.c
+++ b/macosx/tkMacOSXHLEvents.c
@@ -456,7 +456,7 @@ static void ProcessAppleEvent(
Tcl_DStringLength(&AEInfo->command), TCL_EVAL_GLOBAL);
if (AEInfo->replyEvent && code >= 0) {
- int reslen;
+ Tcl_Size reslen;
const char *result = Tcl_GetStringFromObj(Tcl_GetObjResult(AEInfo->interp),
&reslen);
if (code == TCL_OK) {