diff options
author | patthoyts@users.sourceforge.net <patthoyts> | 2007-11-17 23:07:45 (GMT) |
---|---|---|
committer | patthoyts@users.sourceforge.net <patthoyts> | 2007-11-17 23:07:45 (GMT) |
commit | 12c00d26b35bb8d0e08a37c3ab6843ad6884efe5 (patch) | |
tree | 23a7a36869acb014ae54c3af70058f4134ecac67 /generic/tkArgv.c | |
parent | 7e9cb4f80b05fe1886448d2e19b7dda4dd8b1404 (diff) | |
download | tk-12c00d26b35bb8d0e08a37c3ab6843ad6884efe5.zip tk-12c00d26b35bb8d0e08a37c3ab6843ad6884efe5.tar.gz tk-12c00d26b35bb8d0e08a37c3ab6843ad6884efe5.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; } |