summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-11-19 19:45:29 (GMT)
committernijtmans <nijtmans>2010-11-19 19:45:29 (GMT)
commitb97e5b84bc31ca86df37e2a5cff45dd94e310c99 (patch)
treeefbf7c8f0a00938408e54d8226105d21d005f9e5
parent3942360d85dc8ab11f6914c9ffd17c256c7b8a6a (diff)
downloadtcl-b97e5b84bc31ca86df37e2a5cff45dd94e310c99.zip
tcl-b97e5b84bc31ca86df37e2a5cff45dd94e310c99.tar.gz
tcl-b97e5b84bc31ca86df37e2a5cff45dd94e310c99.tar.bz2
fix gcc warning: passing argument 3 of 'Tcl_GetIndexFromObj' discards qualifiers from pointer target type
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclInterp.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e12f39e..6807c28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-19 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * generic/tclInterp.c: fix gcc warning: passing argument 3 of
+ 'Tcl_GetIndexFromObj' discards qualifiers from pointer target type
+
2010-11-18 Donal K. Fellows <dkf@users.sf.net>
* doc/file.n: [Bug 3111298]: Typofix.
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index 219b059..72a62a7 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclInterp.c,v 1.83.2.5 2010/11/15 21:32:32 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclInterp.c,v 1.83.2.6 2010/11/19 19:45:29 nijtmans Exp $
*/
#include "tclInt.h"
@@ -2494,7 +2494,7 @@ SlaveDebugCmd(
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
{
- static const char *const debugTypes[] = {
+ static const char *debugTypes[] = {
"-frame", NULL
};
enum DebugTypes {