summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-27 22:07:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-27 22:07:07 (GMT)
commitee98c5f67ad4c1b52997428b3af01c4282cd9bfa (patch)
tree75759207ea810952837796d1adb908f3ef8bad82
parent768569a70daf32ac012e717e62af3caa8b9ef254 (diff)
parente8a09c1e3781b903a799c0325e0ff53b0c3f96a7 (diff)
downloadtk-ee98c5f67ad4c1b52997428b3af01c4282cd9bfa.zip
tk-ee98c5f67ad4c1b52997428b3af01c4282cd9bfa.tar.gz
tk-ee98c5f67ad4c1b52997428b3af01c4282cd9bfa.tar.bz2
[Bug 3480471]: tk_getOpenFile crashes on Win64
-rw-r--r--ChangeLog4
-rw-r--r--win/tkWinDialog.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fcbb3a0..470be1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-27 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * win/tkWinDialog.c: [Bug 3480471]: tk_getOpenFile crashes on Win64
+
2012-01-26 Francois Vogel <fvogelnew1@free.fr>
* generic/tkTextDisp.c: [Bug-1754043] and [Bug-2321450]: When
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 9ed5875..f26905b 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -1001,10 +1001,10 @@ OFNHookProc(
ofnData->dynFileBuffer = buffer;
}
- SendMessage(hdlg, CDM_GETFOLDERPATH, dirsize, PTR2INT(buffer));
+ SendMessage(hdlg, CDM_GETFOLDERPATH, dirsize, (LPARAM) buffer);
buffer += dirsize;
- SendMessage(hdlg, CDM_GETSPEC, selsize, PTR2INT(buffer));
+ SendMessage(hdlg, CDM_GETSPEC, selsize, (LPARAM) buffer);
/*
* If there are multiple files, delete the quotes and change