X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/rocl/blobdiff_plain/843ab469ed91b5b4caa07b02be5caa71ef8d04fd..44649ec5bc84753e3ae7714e698f23304b04e744:/vec.c diff --git a/vec.c b/vec.c index d091b2c..0383c88 100644 --- a/vec.c +++ b/vec.c @@ -367,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: