summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixSend.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-31 19:54:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-31 19:54:49 (GMT)
commit8d2dbe96066152901e507e44cf7dec9b00f2bee3 (patch)
tree27cd4550429711dfdbcc60e83e12d01c5f4b9b03 /unix/tkUnixSend.c
parentc46f74289a79498f91f6bd70d409449bc6f00b41 (diff)
downloadtk-8d2dbe96066152901e507e44cf7dec9b00f2bee3.zip
tk-8d2dbe96066152901e507e44cf7dec9b00f2bee3.tar.gz
tk-8d2dbe96066152901e507e44cf7dec9b00f2bee3.tar.bz2
Change (internal) signature of TkMenuConfigureEntryDrawOptions/TkActivateMenuEntry such that - if compiled with Tcl 9.0 headers - indexes > 2G can be used.
Also, change a lot of Tcl_NewIntObj()/Tcl_NewBooleanObj() calls to Tcl_NewWideIntObj().
Diffstat (limited to 'unix/tkUnixSend.c')
-rw-r--r--unix/tkUnixSend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixSend.c b/unix/tkUnixSend.c
index 0b4f05d..9b6e79f 100644
--- a/unix/tkUnixSend.c
+++ b/unix/tkUnixSend.c
@@ -2052,7 +2052,7 @@ TkpTestsendCmd(
Tcl_DStringFree(&tmp);
}
} else if (index == TESTSEND_SERIAL) {
- Tcl_SetObjResult(interp, Tcl_NewIntObj(localData.sendSerial+1));
+ Tcl_SetObjResult(interp, Tcl_NewWideIntObj(localData.sendSerial+1));
}
return TCL_OK;
}