diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-01-27 22:07:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-01-27 22:07:07 (GMT) |
commit | ee98c5f67ad4c1b52997428b3af01c4282cd9bfa (patch) | |
tree | 75759207ea810952837796d1adb908f3ef8bad82 | |
parent | 768569a70daf32ac012e717e62af3caa8b9ef254 (diff) | |
parent | e8a09c1e3781b903a799c0325e0ff53b0c3f96a7 (diff) | |
download | tk-ee98c5f67ad4c1b52997428b3af01c4282cd9bfa.zip tk-ee98c5f67ad4c1b52997428b3af01c4282cd9bfa.tar.gz tk-ee98c5f67ad4c1b52997428b3af01c4282cd9bfa.tar.bz2 |
[Bug 3480471]: tk_getOpenFile crashes on Win64
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | win/tkWinDialog.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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 |