diff options
| author | das <das> | 2008-10-10 04:02:00 (GMT) |
|---|---|---|
| committer | das <das> | 2008-10-10 04:02:00 (GMT) |
| commit | 4c9c8a4014ac35a94692739e691995faaf882a92 (patch) | |
| tree | 9a95d90157710afcf6ba6a7d8d644aa49cb152d2 | |
| parent | 695222bf6acf14a00bdfcea4773cc97bc0e559c6 (diff) | |
| download | tcl-4c9c8a4014ac35a94692739e691995faaf882a92.zip tcl-4c9c8a4014ac35a94692739e691995faaf882a92.tar.gz tcl-4c9c8a4014ac35a94692739e691995faaf882a92.tar.bz2 | |
fix warning
| -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) { |
