summaryrefslogtreecommitdiffstats
path: root/generic/tclListObj.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-01-07 23:09:12 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-01-07 23:09:12 (GMT)
commit64d75f9d23874c04fa77962208a6ccbf0bcf8c0e (patch)
treef6b88c79ec9608bd9cca42734203651d6c7b71b1 /generic/tclListObj.c
parent84fa1e6dcfd96c948d28631c761fae53e8683af4 (diff)
downloadtcl-64d75f9d23874c04fa77962208a6ccbf0bcf8c0e.zip
tcl-64d75f9d23874c04fa77962208a6ccbf0bcf8c0e.tar.gz
tcl-64d75f9d23874c04fa77962208a6ccbf0bcf8c0e.tar.bz2
* generic/tclEvent.c (TclInExit):
* generic/tclIOUtil.c (SetFsPathFromAbsoluteNormalized, SetFsPathFromAny,Tcl_FSNewNativePath,DupFsPathInternalRep): * generic/tclListObj.c (TclLsetList,TclLsetFlat): Added some type casts to satisfy picky compilers.
Diffstat (limited to 'generic/tclListObj.c')
-rw-r--r--generic/tclListObj.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/tclListObj.c b/generic/tclListObj.c
index 864ab35..cdd8cb9 100644
--- a/generic/tclListObj.c
+++ b/generic/tclListObj.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclListObj.c,v 1.12 2001/12/28 23:36:31 dgp Exp $
+ * RCS: @(#) $Id: tclListObj.c,v 1.13 2002/01/07 23:09:13 dgp Exp $
*/
#include "tclInt.h"
@@ -927,7 +927,7 @@ TclLsetList( interp, listPtr, indexArgPtr, valuePtr )
if ( result != TCL_OK ) {
break;
}
- listPtr->internalRep.twoPtrValue.ptr2 = chainPtr;
+ listPtr->internalRep.twoPtrValue.ptr2 = (VOID *) chainPtr;
/*
* Reconstitute the index array
@@ -1014,12 +1014,12 @@ TclLsetList( interp, listPtr, indexArgPtr, valuePtr )
if ( result == TCL_OK ) {
- listPtr->internalRep.twoPtrValue.ptr2 = chainPtr;
+ listPtr->internalRep.twoPtrValue.ptr2 = (VOID *) chainPtr;
/* Spoil all the string reps */
while ( listPtr != NULL ) {
- subListPtr = listPtr->internalRep.twoPtrValue.ptr2;
+ subListPtr = (Tcl_Obj *) listPtr->internalRep.twoPtrValue.ptr2;
Tcl_InvalidateStringRep( listPtr );
listPtr->internalRep.twoPtrValue.ptr2 = NULL;
listPtr = subListPtr;
@@ -1164,7 +1164,7 @@ TclLsetFlat( interp, listPtr, indexCount, indexArray, valuePtr )
if ( result != TCL_OK ) {
break;
}
- listPtr->internalRep.twoPtrValue.ptr2 = chainPtr;
+ listPtr->internalRep.twoPtrValue.ptr2 = (VOID *) chainPtr;
/*
* Determine the index of the requested element.
@@ -1235,12 +1235,12 @@ TclLsetFlat( interp, listPtr, indexCount, indexArray, valuePtr )
if ( result == TCL_OK ) {
- listPtr->internalRep.twoPtrValue.ptr2 = chainPtr;
+ listPtr->internalRep.twoPtrValue.ptr2 = (VOID *) chainPtr;
/* Spoil all the string reps */
while ( listPtr != NULL ) {
- subListPtr = listPtr->internalRep.twoPtrValue.ptr2;
+ subListPtr = (Tcl_Obj *) listPtr->internalRep.twoPtrValue.ptr2;
Tcl_InvalidateStringRep( listPtr );
listPtr->internalRep.twoPtrValue.ptr2 = NULL;
listPtr = subListPtr;