summaryrefslogtreecommitdiffstats
path: root/generic/tclDictObj.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-05-30 22:54:27 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-05-30 22:54:27 (GMT)
commit032cdb06a8056b84ec16eaace0fc84044c95899a (patch)
tree2a8d0623da1a0cb105d6dfe0dce52b53e459b641 /generic/tclDictObj.c
parentc95dff3c4e222c9da6666a3b97ca0d7e92d89c10 (diff)
downloadtcl-032cdb06a8056b84ec16eaace0fc84044c95899a.zip
tcl-032cdb06a8056b84ec16eaace0fc84044c95899a.tar.gz
tcl-032cdb06a8056b84ec16eaace0fc84044c95899a.tar.bz2
Small clarifications that code a bit nicer to read.
Diffstat (limited to 'generic/tclDictObj.c')
-rw-r--r--generic/tclDictObj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclDictObj.c b/generic/tclDictObj.c
index a33802d..d3d30d3 100644
--- a/generic/tclDictObj.c
+++ b/generic/tclDictObj.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclDictObj.c,v 1.56 2007/12/13 15:23:16 dgp Exp $
+ * RCS: @(#) $Id: tclDictObj.c,v 1.57 2008/05/30 22:54:29 dkf Exp $
*/
#include "tclInt.h"
@@ -354,7 +354,7 @@ DupDictInternalRep(
* Fill in the contents.
*/
- Tcl_SetHashValue(hPtr, (ClientData) valuePtr);
+ Tcl_SetHashValue(hPtr, valuePtr);
Tcl_IncrRefCount(valuePtr);
}
@@ -840,7 +840,7 @@ TclTraceDictPath(
TclDecrRefCount(tmpObj);
tmpObj = Tcl_DuplicateObj(tmpObj);
Tcl_IncrRefCount(tmpObj);
- Tcl_SetHashValue(hPtr, (ClientData) tmpObj);
+ Tcl_SetHashValue(hPtr, tmpObj);
dict->epoch++;
newDict = tmpObj->internalRep.otherValuePtr;
}