diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-01-27 22:07:07 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-01-27 22:07:07 (GMT) |
commit | d7231a37bee1d8876c2a3230d48f82413b98624f (patch) | |
tree | 75759207ea810952837796d1adb908f3ef8bad82 /win | |
parent | a4fc0a6c025d179be8e9dfdb6df82ab05c2a5c75 (diff) | |
parent | 46cbc2bb40339b5da6b413fdd1373f316b6c6913 (diff) | |
download | tk-d7231a37bee1d8876c2a3230d48f82413b98624f.zip tk-d7231a37bee1d8876c2a3230d48f82413b98624f.tar.gz tk-d7231a37bee1d8876c2a3230d48f82413b98624f.tar.bz2 |
[Bug 3480471]: tk_getOpenFile crashes on Win64
FossilOrigin-Name: f2609c3df2d091332b41054cc8d8177dc89c1a81
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinDialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |