diff options
| author | nijtmans <nijtmans> | 2010-08-22 18:53:25 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2010-08-22 18:53:25 (GMT) |
| commit | 5613fedcd8063e977e15ce063bdbdeac15a0bda2 (patch) | |
| tree | 67ed82232eba8af871d2080941a2d38f2764b518 /generic/tclBinary.c | |
| parent | 549fcd7b1275ba59f80456bf104baa5cacb6536f (diff) | |
| download | tcl-5613fedcd8063e977e15ce063bdbdeac15a0bda2.zip tcl-5613fedcd8063e977e15ce063bdbdeac15a0bda2.tar.gz tcl-5613fedcd8063e977e15ce063bdbdeac15a0bda2.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/tclBinary.c')
| -rw-r--r-- | generic/tclBinary.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c index 3264a70..1859c0a 100644 --- a/generic/tclBinary.c +++ b/generic/tclBinary.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: tclBinary.c,v 1.64 2010/04/30 20:52:51 dgp Exp $ + * RCS: @(#) $Id: tclBinary.c,v 1.65 2010/08/22 18:53:26 nijtmans Exp $ */ #include "tclInt.h" @@ -2114,7 +2114,7 @@ ScanNumber( register Tcl_HashEntry *hPtr; int isNew; - hPtr = Tcl_CreateHashEntry(tablePtr, (char *)value, &isNew); + hPtr = Tcl_CreateHashEntry(tablePtr, INT2PTR(value), &isNew); if (!isNew) { return Tcl_GetHashValue(hPtr); } |
