diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-04-15 23:26:44 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-04-15 23:26:44 (GMT) |
commit | 2cced2c8a8ed9d460fb9a15426354a32709ddd1f (patch) | |
tree | e9cb2d4138705d83b307c9e077443366dcdceb56 /macosx/tkMacOSXDialog.c | |
parent | 14219460ca7cd029d3b9b54ad4d4c15c68668ce8 (diff) | |
download | tk-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/tkMacOSXDialog.c')
-rw-r--r-- | macosx/tkMacOSXDialog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c index 1915a84..48d1467 100644 --- a/macosx/tkMacOSXDialog.c +++ b/macosx/tkMacOSXDialog.c @@ -1846,7 +1846,8 @@ FontchooserConfigureCmd( } for (i = 1; i < objc; i += 2) { - int optionIndex, len; + int optionIndex; + Tcl_Size len; if (Tcl_GetIndexFromObjStruct(interp, objv[i], fontchooserOptionStrings, sizeof(char *), "option", 0, &optionIndex) != TCL_OK) { |