summaryrefslogtreecommitdiffstats
path: root/generic/tclBinary.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-08-22 18:53:25 (GMT)
committernijtmans <nijtmans>2010-08-22 18:53:25 (GMT)
commitb29ec318d79701d5f1a59dda0b4517e2a91d4aa4 (patch)
tree67ed82232eba8af871d2080941a2d38f2764b518 /generic/tclBinary.c
parent83ab4a9db5c51f901442c409a6d33709ab4c223b (diff)
downloadtcl-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/tclBinary.c')
-rw-r--r--generic/tclBinary.c4
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);
}