diff options
author | dgp <dgp@noemail.net> | 2001-09-17 23:16:26 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2001-09-17 23:16:26 (GMT) |
commit | e027b3bff0136b39f0ee685c29350920567c4230 (patch) | |
tree | d6e55bf15d87caa1a76b24c6841467e96be920e9 /generic/tkPack.c | |
parent | a74f11ae80e2f68639b4ba0a70cfcb03598c6191 (diff) | |
download | tk-e027b3bff0136b39f0ee685c29350920567c4230.zip tk-e027b3bff0136b39f0ee685c29350920567c4230.tar.gz tk-e027b3bff0136b39f0ee685c29350920567c4230.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]
FossilOrigin-Name: 6ec1731fc2116acfbb45ee6775894c52f4b92d9a
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; |