Index: generic/tclObj.c
===================================================================
RCS file: /cvsroot/tcl/tcl/generic/tclObj.c,v
retrieving revision 1.42.2.7
diff -u -r1.42.2.7 tclObj.c
--- generic/tclObj.c	10 Sep 2004 22:59:54 -0000	1.42.2.7
+++ generic/tclObj.c	14 Sep 2004 16:25:54 -0000
@@ -1795,7 +1795,7 @@
     }
 
     if (((long)((int)l)) == l) {
-	*intPtr = (int)objPtr->internalRep.longValue;
+	*intPtr = (int)l;
 	return TCL_OK;
     }
 #ifndef TCL_WIDE_INT_IS_LONG
