diff options
author | nijtmans <nijtmans> | 2010-08-22 18:53:25 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-08-22 18:53:25 (GMT) |
commit | b29ec318d79701d5f1a59dda0b4517e2a91d4aa4 (patch) | |
tree | 67ed82232eba8af871d2080941a2d38f2764b518 /generic/tclCmdIL.c | |
parent | 83ab4a9db5c51f901442c409a6d33709ab4c223b (diff) | |
download | tcl-b29ec318d79701d5f1a59dda0b4517e2a91d4aa4.zip tcl-b29ec318d79701d5f1a59dda0b4517e2a91d4aa4.tar.gz tcl-b29ec318d79701d5f1a59dda0b4517e2a91d4aa4.tar.bz2 |
Remove many type casts which are no longernecessary as a result of [Patch 3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r-- | generic/tclCmdIL.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c index 8a38521..6c9a623 100644 --- a/generic/tclCmdIL.c +++ b/generic/tclCmdIL.c @@ -16,7 +16,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdIL.c,v 1.183 2010/06/22 12:25:16 dkf Exp $ + * RCS: @(#) $Id: tclCmdIL.c,v 1.184 2010/08/22 18:53:26 nijtmans Exp $ */ #include "tclInt.h" @@ -830,7 +830,7 @@ InfoCommandsCmd( elemObjPtr = Tcl_NewStringObj(cmdName, -1); Tcl_ListObjAppendElement(interp, listPtr, elemObjPtr); (void) Tcl_CreateHashEntry(&addedCommandsTable, - (char *)elemObjPtr, &isNew); + elemObjPtr, &isNew); } entryPtr = Tcl_NextHashEntry(&search); } @@ -855,7 +855,7 @@ InfoCommandsCmd( || Tcl_StringMatch(cmdName, simplePattern)) { elemObjPtr = Tcl_NewStringObj(cmdName, -1); (void) Tcl_CreateHashEntry(&addedCommandsTable, - (char *) elemObjPtr, &isNew); + elemObjPtr, &isNew); if (isNew) { Tcl_ListObjAppendElement(interp, listPtr, elemObjPtr); } else { |