summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2011-08-16 13:03:43 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2011-08-16 13:03:43 (GMT)
commit1cbc00da49645eb4db275f8c8a59abc20b7e7abf (patch)
treec4452046a4a872fb20c9437f5719b664baca41d7 /win/tkWinDialog.c
parent41e114751c97e32ee1f67393cd108a68e8646e26 (diff)
parenteefed87c82939ef4646256b3d27de538c307f430 (diff)
downloadtk-1cbc00da49645eb4db275f8c8a59abc20b7e7abf.zip
tk-1cbc00da49645eb4db275f8c8a59abc20b7e7abf.tar.gz
tk-1cbc00da49645eb4db275f8c8a59abc20b7e7abf.tar.bz2
[Bug 3388350] mingw64 compiler warnings
FossilOrigin-Name: 30375f51d117cab09fb37c575465fead5e3a8caa
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 4110848..de7e84f 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -1032,10 +1032,10 @@ OFNHookProcW(
ofnData->dynFileBuffer = (char *) buffer;
}
- SendMessageW(hdlg, CDM_GETFOLDERPATH, dirsize, (int) buffer);
+ SendMessageW(hdlg, CDM_GETFOLDERPATH, dirsize, PTR2INT(buffer));
buffer += dirsize;
- SendMessageW(hdlg, CDM_GETSPEC, selsize, (int) buffer);
+ SendMessageW(hdlg, CDM_GETSPEC, selsize, PTR2INT(buffer));
/*
* If there are multiple files, delete the quotes and change
@@ -1580,9 +1580,9 @@ OFNHookProcA(
ofnData->dynFileBuffer = 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