diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2007-11-17 23:07:45 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2007-11-17 23:07:45 (GMT) |
commit | 564fb4d84402fcf9765bc3e2319aa11e4cdd8030 (patch) | |
tree | 23a7a36869acb014ae54c3af70058f4134ecac67 /generic/tkArgv.c | |
parent | cd3db4fab4487f93d083f8de89bfe41a4556b090 (diff) | |
download | tk-564fb4d84402fcf9765bc3e2319aa11e4cdd8030.zip tk-564fb4d84402fcf9765bc3e2319aa11e4cdd8030.tar.gz tk-564fb4d84402fcf9765bc3e2319aa11e4cdd8030.tar.bz2 |
Tidy up some variable types.
Diffstat (limited to 'generic/tkArgv.c')
-rw-r--r-- | generic/tkArgv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkArgv.c b/generic/tkArgv.c index 15f032a..ed7b2cd 100644 --- a/generic/tkArgv.c +++ b/generic/tkArgv.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: tkArgv.c,v 1.9 2007/10/15 07:24:48 das Exp $ + * RCS: @(#) $Id: tkArgv.c,v 1.10 2007/11/17 23:07:45 patthoyts Exp $ */ #include "tkInt.h" @@ -337,7 +337,7 @@ PrintUsage( * for default options. */ { register Tk_ArgvInfo *infoPtr; - int width, i, numSpaces; + size_t width, i, numSpaces; #define NUM_SPACES 20 static char spaces[] = " "; char tmp[TCL_DOUBLE_SPACE]; @@ -351,7 +351,7 @@ PrintUsage( for (i = 0; i < 2; i++) { for (infoPtr = i ? defaultTable : argTable; infoPtr->type != TK_ARGV_END; infoPtr++) { - int length; + size_t length; if (infoPtr->key == NULL) { continue; } |