summaryrefslogtreecommitdiffstats
path: root/generic/tkGrid.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2001-09-17 23:16:26 (GMT)
committerdgp <dgp@users.sourceforge.net>2001-09-17 23:16:26 (GMT)
commit110401686eaf4723c9aaf9907f36fcbc0a2f4155 (patch)
treed6e55bf15d87caa1a76b24c6841467e96be920e9 /generic/tkGrid.c
parentd389b7c614bed2adeef2c44844cb67d6bc563b21 (diff)
downloadtk-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/tkGrid.c')
-rw-r--r--generic/tkGrid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c
index 9ac3d41..28c872e 100644
--- a/generic/tkGrid.c
+++ b/generic/tkGrid.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkGrid.c,v 1.14 2001/08/22 19:59:49 pspjuth Exp $
+ * RCS: @(#) $Id: tkGrid.c,v 1.15 2001/09/17 23:16:26 dgp Exp $
*/
#include "tkInt.h"
@@ -2384,7 +2384,7 @@ ConfigureSlaves(interp, tkwin, objc, objv)
Gridder *slavePtr;
Tk_Window other, slave, parent, ancestor;
int i, j, tmp;
- size_t length;
+ int length;
int numWindows;
int width;
int defaultColumn = 0; /* default column number */