From b97e5b84bc31ca86df37e2a5cff45dd94e310c99 Mon Sep 17 00:00:00 2001 From: nijtmans Date: Fri, 19 Nov 2010 19:45:29 +0000 Subject: fix gcc warning: passing argument 3 of 'Tcl_GetIndexFromObj' discards qualifiers from pointer target type --- ChangeLog | 5 +++++ generic/tclInterp.c | 4 ++-- 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 + + * generic/tclInterp.c: fix gcc warning: passing argument 3 of + 'Tcl_GetIndexFromObj' discards qualifiers from pointer target type + 2010-11-18 Donal K. Fellows * 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 { -- cgit v0.12