diff options
author | dgp <dgp@users.sourceforge.net> | 2001-09-17 23:16:26 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2001-09-17 23:16:26 (GMT) |
commit | 110401686eaf4723c9aaf9907f36fcbc0a2f4155 (patch) | |
tree | d6e55bf15d87caa1a76b24c6841467e96be920e9 /generic/tkPack.c | |
parent | d389b7c614bed2adeef2c44844cb67d6bc563b21 (diff) | |
download | tk-110401686eaf4723c9aaf9907f36fcbc0a2f4155.zip tk-110401686eaf4723c9aaf9907f36fcbc0a2f4155.tar.gz tk-110401686eaf4723c9aaf9907f36fcbc0a2f4155.tar.bz2 |
* Corrected type definition of
argument passed to Tcl_GetStringFromObj() from size_t to int.
Incorrect type broke [pack] and [grid] on systems where
sizeof(size_t) != sizeof(int). [Bugs 462375, 462342, 462338]
Diffstat (limited to 'generic/tkPack.c')
-rw-r--r-- | generic/tkPack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkPack.c b/generic/tkPack.c index cada2c2..01ee852 100644 --- a/generic/tkPack.c +++ b/generic/tkPack.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkPack.c,v 1.9 2001/08/22 17:29:08 hobbs Exp $ + * RCS: @(#) $Id: tkPack.c,v 1.10 2001/09/17 23:16:26 dgp Exp $ */ #include "tkPort.h" @@ -1141,7 +1141,7 @@ PackAfter(interp, prevPtr, masterPtr, objc, objv) { register Packer *packPtr; Tk_Window tkwin, ancestor, parent; - size_t length; + int length; Tcl_Obj **options; int index, optionCount, c; |