summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-03 16:23:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-03 16:23:24 (GMT)
commitbf6376a2e045cc8245b54c5ea9ef563c3cfb3bf4 (patch)
treeb3f6843fc8a7d2b7021c490eea1dd6e4b319cd02 /generic/tkWindow.c
parent95dbb93bae43e8f652c32783dcb9908791c05c1e (diff)
downloadtk-bf6376a2e045cc8245b54c5ea9ef563c3cfb3bf4.zip
tk-bf6376a2e045cc8245b54c5ea9ef563c3cfb3bf4.tar.gz
tk-bf6376a2e045cc8245b54c5ea9ef563c3cfb3bf4.tar.bz2
Deprecate Tk_MainEx() stub entry (TIP #512). Only has effect if compiled with TK_NO_DEPRECATED=1
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index d36313b..198c2d7 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -2834,7 +2834,7 @@ static HMODULE tkcygwindll = NULL;
/*
* Run Tk_MainEx from libtk8.?.dll
*
- * This function is only ever called from wish8.4.exe, the cygwin port of Tcl.
+ * This function is only ever called from wish8.?.exe, the cygwin port of Tcl.
* This means that the system encoding is utf-8, so we don't have to do any
* encoding conversions.
*/
@@ -2850,7 +2850,7 @@ TkCygwinMainEx(
Tcl_Interp *interp)
{
TCHAR name[MAX_PATH];
- int len;
+ size_t len;
void (*tkmainex)(int, char **, Tcl_AppInitProc *, Tcl_Interp *);
/* construct "<path>/libtk8.?.dll", from "<path>/tk8?.dll" */