diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2008-05-30 22:54:27 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2008-05-30 22:54:27 (GMT) |
commit | 032cdb06a8056b84ec16eaace0fc84044c95899a (patch) | |
tree | 2a8d0623da1a0cb105d6dfe0dce52b53e459b641 /generic/tclDictObj.c | |
parent | c95dff3c4e222c9da6666a3b97ca0d7e92d89c10 (diff) | |
download | tcl-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.c | 6 |
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; } |