diff options
author | patthoyts <patthoyts@noemail.net> | 2007-11-17 23:07:44 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@noemail.net> | 2007-11-17 23:07:44 (GMT) |
commit | f3846d34ad3f7fc63ce77987947d1a26ec1e4751 (patch) | |
tree | 23a7a36869acb014ae54c3af70058f4134ecac67 /generic/tkBind.c | |
parent | 0020f03939052398207f5f12835d34ff47087def (diff) | |
download | tk-f3846d34ad3f7fc63ce77987947d1a26ec1e4751.zip tk-f3846d34ad3f7fc63ce77987947d1a26ec1e4751.tar.gz tk-f3846d34ad3f7fc63ce77987947d1a26ec1e4751.tar.bz2 |
Tidy up some variable types.
FossilOrigin-Name: dd028db17b62cc6010a55648c13919b524417c04
Diffstat (limited to 'generic/tkBind.c')
-rw-r--r-- | generic/tkBind.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c index d834f0e..542b6b3 100644 --- a/generic/tkBind.c +++ b/generic/tkBind.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkBind.c,v 1.43 2007/09/07 00:34:51 dgp Exp $ + * RCS: @(#) $Id: tkBind.c,v 1.44 2007/11/17 23:07:45 patthoyts Exp $ */ #include "tkInt.h" @@ -1002,7 +1002,7 @@ Tk_CreateBinding( oldStr = (char *) psPtr->clientData; if ((append != 0) && (oldStr != NULL)) { - int length; + size_t length; length = strlen(oldStr) + strlen(command) + 2; newStr = (char *) ckalloc((unsigned) length); @@ -3935,7 +3935,7 @@ GetVirtualEventUid( char *virtString) { Tk_Uid uid; - int length; + size_t length; length = strlen(virtString); |