diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-01-31 16:47:59 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-01-31 16:47:59 (GMT) |
commit | a5cb5cdaf088782fcccf2534e950c39a12c16f02 (patch) | |
tree | 1150c89c500e471f108636c849bad4204f3ca29c /generic/tkWindow.c | |
parent | 3d68ec991c54fcf2472aaf3b09fae7b6aa224254 (diff) | |
download | tk-a5cb5cdaf088782fcccf2534e950c39a12c16f02.zip tk-a5cb5cdaf088782fcccf2534e950c39a12c16f02.tar.gz tk-a5cb5cdaf088782fcccf2534e950c39a12c16f02.tar.bz2 |
Change winPtr->optionLevel and winPtr->numTags from int to size_t, when compiled with Tcl 9 headers.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index bc2921a..884bbb4 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -658,7 +658,7 @@ TkAllocWindow( winPtr->inputContext = NULL; winPtr->tagPtr = NULL; winPtr->numTags = 0; - winPtr->optionLevel = -1; + winPtr->optionLevel = TCL_INDEX_NONE; winPtr->selHandlerList = NULL; winPtr->geomMgrPtr = NULL; winPtr->geomData = NULL; |