summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 13:31:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 13:31:51 (GMT)
commit907e2d9a2d64d70bf11090c1404f4c2a033665cc (patch)
tree10fef8916f8c8669ce5e3e9dad5ab679a7afd436 /win/tkWinDialog.c
parentb5ded31c01970fcfc89f40ec2f1ba09472ec0ff2 (diff)
parent31e3c7c6744ec46a8b36c6425b93c58bd5e70230 (diff)
downloadtk-907e2d9a2d64d70bf11090c1404f4c2a033665cc.zip
tk-907e2d9a2d64d70bf11090c1404f4c2a033665cc.tar.gz
tk-907e2d9a2d64d70bf11090c1404f4c2a033665cc.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index ba4c2df..6940f1b 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -1016,10 +1016,10 @@ OFNHookProc(
ofnData->dynFileBuffer = (char *) buffer;
}
- SendMessage(hdlg, CDM_GETFOLDERPATH, dirsize, (int) buffer);
+ SendMessage(hdlg, CDM_GETFOLDERPATH, dirsize, PTR2INT(buffer));
buffer += dirsize;
- SendMessage(hdlg, CDM_GETSPEC, selsize, (int) buffer);
+ SendMessage(hdlg, CDM_GETSPEC, selsize, PTR2INT(buffer));
/*
* If there are multiple files, delete the quotes and change