From d90b170c8da99402619b4fcc091aeef66a29b691 Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Tue, 24 Apr 2012 03:34:26 +0000 Subject: 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 --- src/Fl_Native_File_Chooser_WIN32.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3