summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-10-14 19:26:59 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-10-14 19:26:59 (GMT)
commit32286f19cd1be9fcb882750e70838e31e18f9836 (patch)
tree9459c087d1d0a3f147de517b1cdecb15bd428084 /generic/tclExecute.c
parentcaf6b557c548d9156937bcb092d6107a66f4c3de (diff)
downloadtcl-32286f19cd1be9fcb882750e70838e31e18f9836.zip
tcl-32286f19cd1be9fcb882750e70838e31e18f9836.tar.gz
tcl-32286f19cd1be9fcb882750e70838e31e18f9836.tar.bz2
* generic/tclExecute.c: Fix compile warnings when --enable-symbols=all.
* generic/tclCmdIL.c: Fix write to unallocated memory whenever [lrepeat] returns an empty list.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index c6bce03..674cd56 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclExecute.c,v 1.415 2008/10/07 21:24:43 nijtmans Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.416 2008/10/14 19:26:59 dgp Exp $
*/
#include "tclInt.h"
@@ -660,7 +660,7 @@ static int EvalStatsCmd(ClientData clientData,
Tcl_Obj *const objv[]);
#endif /* TCL_COMPILE_STATS */
#ifdef TCL_COMPILE_DEBUG
-static char * GetOpcodeName(unsigned char *pc);
+static CONST86 char * GetOpcodeName(unsigned char *pc);
static void PrintByteCodeInfo(ByteCode *codePtr);
static const char * StringForResultCode(int result);
static void ValidatePcAndStackTop(ByteCode *codePtr,
@@ -8431,7 +8431,7 @@ GetExceptRangeForPc(
*/
#ifdef TCL_COMPILE_DEBUG
-static char *
+static CONST86 char *
GetOpcodeName(
unsigned char *pc) /* Points to the instruction whose name should
* be returned. */