summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-24 21:15:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-24 21:15:46 (GMT)
commit20ae5845bf5393c40ddd12145483e4c6af9ef77e (patch)
tree209933d2accf8feb64d481f548a0029cae195009 /win/tkWinWm.c
parentc29a2d58d9c3de29bcd7e88011aea2b9c1bcd92e (diff)
parentc6f6c74ebb2092a8b0b4b2e5c805d22253d19e33 (diff)
downloadtk-20ae5845bf5393c40ddd12145483e4c6af9ef77e.zip
tk-20ae5845bf5393c40ddd12145483e4c6af9ef77e.tar.gz
tk-20ae5845bf5393c40ddd12145483e4c6af9ef77e.tar.bz2
Change XSetCommand signature to match Xorg, needed for Cygwin
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r--win/tkWinWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index bb7f746..e3816ca 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -3567,7 +3567,7 @@ WmCommandCmd(
wmPtr->cmdArgc = cmdArgc;
wmPtr->cmdArgv = cmdArgv;
if (!(wmPtr->flags & WM_NEVER_MAPPED)) {
- XSetCommand(winPtr->display, winPtr->window, cmdArgv, cmdArgc);
+ XSetCommand(winPtr->display, winPtr->window, (char **) cmdArgv, cmdArgc);
}
return TCL_OK;
}