[UI] Undo warning fix in file_picker_win.cc

This commit is contained in:
Dr. Chat 2018-09-10 20:06:16 -05:00
parent 91c53f975e
commit 37e59464c2
1 changed files with 2 additions and 2 deletions

View File

@ -36,9 +36,9 @@ class CDialogEventHandler : public IFileDialogEvents,
IFACEMETHODIMP QueryInterface(REFIID riid, void** ppv) {
static const QITAB qit[] = {
{&__uuidof(IFileDialogEvents),
OFFSETOFCLASS(IFileDialogEvents, CDialogEventHandler)},
(int)OFFSETOFCLASS(IFileDialogEvents, CDialogEventHandler)},
{&__uuidof(IFileDialogControlEvents),
OFFSETOFCLASS(IFileDialogControlEvents, CDialogEventHandler)},
(int)OFFSETOFCLASS(IFileDialogControlEvents, CDialogEventHandler)},
{0},
};
return QISearch(this, qit, riid, ppv);