summaryrefslogtreecommitdiffstats
path: root/win
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 /win
parent768569a70daf32ac012e717e62af3caa8b9ef254 (diff)
parente8a09c1e3781b903a799c0325e0ff53b0c3f96a7 (diff)
downloadtk-ee98c5f67ad4c1b52997428b3af01c4282cd9bfa.zip
tk-ee98c5f67ad4c1b52997428b3af01c4282cd9bfa.tar.gz
tk-ee98c5f67ad4c1b52997428b3af01c4282cd9bfa.tar.bz2
[Bug 3480471]: tk_getOpenFile crashes on Win64
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDialog.c4
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