summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 13:17:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 13:17:18 (GMT)
commit31e3c7c6744ec46a8b36c6425b93c58bd5e70230 (patch)
tree0607ae69049fd86da0a97cf3db38e66e43855ade /win/tkWinWm.c
parent3876ba4df3e26ded567937787afa2068b9815626 (diff)
downloadtk-31e3c7c6744ec46a8b36c6425b93c58bd5e70230.zip
tk-31e3c7c6744ec46a8b36c6425b93c58bd5e70230.tar.gz
tk-31e3c7c6744ec46a8b36c6425b93c58bd5e70230.tar.bz2
[Bug 3388350] mingw64 compiler warnings
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 23f496a..2df9b2e 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -3755,7 +3755,7 @@ WmFrameCmd(
if (hwnd == NULL) {
hwnd = Tk_GetHWND(Tk_WindowId((Tk_Window) winPtr));
}
- sprintf(buf, "0x%x", PTR2UINT(hwnd));
+ sprintf(buf, "0x%x", PTR2INT(hwnd));
Tcl_SetResult(interp, buf, TCL_VOLATILE);
return TCL_OK;
}