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/tclExecute.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/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 715c404..4970443 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.491 2010/08/18 22:33:27 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.492 2010/08/22 18:53:26 nijtmans Exp $ */ #include "tclInt.h" @@ -233,7 +233,7 @@ VarHashCreateVar( int *newPtr) { Tcl_HashEntry *hPtr = Tcl_CreateHashEntry(&tablePtr->table, - (char *) key, newPtr); + key, newPtr); if (!hPtr) { return NULL; @@ -1655,7 +1655,7 @@ TclCompileObj( { Tcl_HashEntry *hePtr = - Tcl_FindHashEntry(iPtr->lineBCPtr, (char *) codePtr); + Tcl_FindHashEntry(iPtr->lineBCPtr, codePtr); if (hePtr) { ExtCmdLoc *eclPtr = Tcl_GetHashValue(hePtr); @@ -8221,14 +8221,14 @@ TclGetSrcInfoForPc( int srcOffset, i; Interp *iPtr = (Interp *) *codePtr->interpHandle; Tcl_HashEntry *hePtr = - Tcl_FindHashEntry(iPtr->lineBCPtr, (char *) codePtr); + Tcl_FindHashEntry(iPtr->lineBCPtr, codePtr); if (!hePtr) { return; } srcOffset = cfPtr->cmd.str.cmd - codePtr->source; - eclPtr = (ExtCmdLoc *) Tcl_GetHashValue(hePtr); + eclPtr = Tcl_GetHashValue(hePtr); for (i=0; i < eclPtr->nuloc; i++) { if (eclPtr->loc[i].srcOffset == srcOffset) { |