diff options
author | das <das@noemail.net> | 2008-10-10 04:02:00 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2008-10-10 04:02:00 (GMT) |
commit | 615145b0f65b1dbacdca82bcd69904a816b685c9 (patch) | |
tree | 9a95d90157710afcf6ba6a7d8d644aa49cb152d2 /generic/tclIndexObj.c | |
parent | 9c7fdbed62c629edb1faededfb71c58e6cce4272 (diff) | |
download | tcl-615145b0f65b1dbacdca82bcd69904a816b685c9.zip tcl-615145b0f65b1dbacdca82bcd69904a816b685c9.tar.gz tcl-615145b0f65b1dbacdca82bcd69904a816b685c9.tar.bz2 |
fix warning
FossilOrigin-Name: 9c2baab05601b328894c76d379df68a3ad84f9fa
Diffstat (limited to 'generic/tclIndexObj.c')
-rw-r--r-- | generic/tclIndexObj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIndexObj.c b/generic/tclIndexObj.c index 1ca2d3e..bb9078b 100644 --- a/generic/tclIndexObj.c +++ b/generic/tclIndexObj.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIndexObj.c,v 1.44 2008/10/05 19:22:22 dkf Exp $ + * RCS: @(#) $Id: tclIndexObj.c,v 1.45 2008/10/10 04:02:00 das Exp $ */ #include "tclInt.h" @@ -1186,7 +1186,7 @@ Tcl_ParseArgsObjv( infoPtr = matchPtr; switch (infoPtr->type) { case TCL_ARGV_CONSTANT: - *((int *) infoPtr->dstPtr) = (int) infoPtr->srcPtr; + *((int *) infoPtr->dstPtr) = PTR2INT(infoPtr->srcPtr); break; case TCL_ARGV_INT: if (objc == 0) { |