aboutsummaryrefslogtreecommitdiff
path: root/pd/src/t_tkcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/t_tkcmd.c')
-rw-r--r--pd/src/t_tkcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pd/src/t_tkcmd.c b/pd/src/t_tkcmd.c
index c2abd846..3415691b 100644
--- a/pd/src/t_tkcmd.c
+++ b/pd/src/t_tkcmd.c
@@ -349,7 +349,7 @@ void pdgui_setname(char *s)
int Pdtcl_Init(Tcl_Interp *interp)
{
- char *myvalue = Tcl_GetVar(interp, "argv", 0);
+ const char *myvalue = Tcl_GetVar(interp, "argv", 0);
int myportno;
if (myvalue && (myportno = atoi(myvalue)) > 1)
pdgui_setsock(myportno);