summaryrefslogtreecommitdiff
path: root/src/Fl_Native_File_Chooser_WIN32.cxx
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2012-04-24 03:34:26 +0000
committerFabien Costantini <fabien@onepost.net>2012-04-24 03:34:26 +0000
commitd90b170c8da99402619b4fcc091aeef66a29b691 (patch)
tree8977a259f73d99835f0d0367f16cd1c3372e7b72 /src/Fl_Native_File_Chooser_WIN32.cxx
parent36c52ce810dc569e8c95acffa65a31ae63d67f83 (diff)
Fixed more warnings in VC2010 32+64 bits builds
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9395 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Native_File_Chooser_WIN32.cxx')
-rw-r--r--src/Fl_Native_File_Chooser_WIN32.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Native_File_Chooser_WIN32.cxx b/src/Fl_Native_File_Chooser_WIN32.cxx
index 44404ffe8..771c62aeb 100644
--- a/src/Fl_Native_File_Chooser_WIN32.cxx
+++ b/src/Fl_Native_File_Chooser_WIN32.cxx
@@ -224,7 +224,7 @@ void Fl_Native_File_Chooser::add_pathname(const char *s) {
}
// FREE A PIDL (Pointer to IDentity List)
-void Fl_Native_File_Chooser::FreePIDL(ITEMIDLIST *pidl) {
+void Fl_Native_File_Chooser::FreePIDL(LPITEMIDLIST pidl) {
IMalloc *imalloc = NULL;
if ( SUCCEEDED(SHGetMalloc(&imalloc)) ) {
imalloc->Free(pidl);
@@ -516,7 +516,7 @@ int Fl_Native_File_Chooser::showdir() {
else _binf.lParam = 0;
_binf.lpfn = Dir_CB;
// OPEN BROWSER
- ITEMIDLIST *pidl = SHBrowseForFolder(&_binf);
+ LPITEMIDLIST pidl = SHBrowseForFolder(&_binf);
// CANCEL?
if ( pidl == NULL ) return(1);