summaryrefslogtreecommitdiffstats
path: root/generic/tclOOMethod.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-08-20 23:48:42 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-08-20 23:48:42 (GMT)
commitae0969dc1fc93fffcaffba7b9558c852a33d624f (patch)
tree94db153b59d92ba32b438c0eade0149305150e3b /generic/tclOOMethod.c
parentfaa29c2fefd6d227c3dad33bb98df241a38006bf (diff)
downloadtcl-ae0969dc1fc93fffcaffba7b9558c852a33d624f.zip
tcl-ae0969dc1fc93fffcaffba7b9558c852a33d624f.tar.gz
tcl-ae0969dc1fc93fffcaffba7b9558c852a33d624f.tar.bz2
Added casts to make MSVC happy and re-enable the debug build.
Diffstat (limited to 'generic/tclOOMethod.c')
-rw-r--r--generic/tclOOMethod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclOOMethod.c b/generic/tclOOMethod.c
index 0110283..c33638d 100644
--- a/generic/tclOOMethod.c
+++ b/generic/tclOOMethod.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclOOMethod.c,v 1.14 2008/08/20 15:41:26 dkf Exp $
+ * RCS: @(#) $Id: tclOOMethod.c,v 1.15 2008/08/20 23:48:42 patthoyts Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -799,7 +799,7 @@ PushMethodCallFrame(
ByteCode *codePtr =
pmPtr->procPtr->bodyPtr->internalRep.otherValuePtr;
- codePtr->nsPtr = nsPtr;
+ codePtr->nsPtr = (Namespace *) nsPtr;
}
result = TclProcCompileProc(interp, pmPtr->procPtr,
pmPtr->procPtr->bodyPtr, (Namespace *) nsPtr, "body of method",