[UI] Undo warning fix in file_picker_win.cc
This commit is contained in:
@@ -36,9 +36,9 @@ class CDialogEventHandler : public IFileDialogEvents,
|
|||||||
IFACEMETHODIMP QueryInterface(REFIID riid, void** ppv) {
|
IFACEMETHODIMP QueryInterface(REFIID riid, void** ppv) {
|
||||||
static const QITAB qit[] = {
|
static const QITAB qit[] = {
|
||||||
{&__uuidof(IFileDialogEvents),
|
{&__uuidof(IFileDialogEvents),
|
||||||
OFFSETOFCLASS(IFileDialogEvents, CDialogEventHandler)},
|
(int)OFFSETOFCLASS(IFileDialogEvents, CDialogEventHandler)},
|
||||||
{&__uuidof(IFileDialogControlEvents),
|
{&__uuidof(IFileDialogControlEvents),
|
||||||
OFFSETOFCLASS(IFileDialogControlEvents, CDialogEventHandler)},
|
(int)OFFSETOFCLASS(IFileDialogControlEvents, CDialogEventHandler)},
|
||||||
{0},
|
{0},
|
||||||
};
|
};
|
||||||
return QISearch(this, qit, riid, ppv);
|
return QISearch(this, qit, riid, ppv);
|
||||||
|
|||||||
Reference in New Issue
Block a user