X-Git-Url: https://git.distorted.org.uk/~mdw/rocl/blobdiff_plain/92d4e32147b82130582be1f20c5e97fcc48805ec..44649ec5bc84753e3ae7714e698f23304b04e744:/vec.c diff --git a/vec.c b/vec.c index c2aef2e..0383c88 100644 --- a/vec.c +++ b/vec.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: vec.c,v 1.1 2003/03/07 00:45:35 mdw Exp $ + * $Id$ * * Vectors and arrays in Tcl * @@ -24,14 +24,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: vec.c,v $ - * Revision 1.1 2003/03/07 00:45:35 mdw - * A multidimensional vector/matrix type which is updateable in place. - * - */ - /*----- Header files ------------------------------------------------------*/ #include @@ -375,7 +367,8 @@ static int vec_new(ClientData cd, Tcl_Interp *ti, Tcl_IncrRefCount(init); if ((v = vec_create(ti, ndim, dim, init)) == 0) goto fail; - Tcl_SetResult(ti, Tcl_GetCommandName(ti, v->c), TCL_STATIC); + Tcl_SetResult(ti, (/*unconst */char *)Tcl_GetCommandName(ti, v->c), + TCL_STATIC); rc = TCL_OK; fail: