Skip to content

Commit

Permalink
Possibly fix issue #28.
Browse files Browse the repository at this point in the history
  • Loading branch information
cycleg committed Dec 9, 2018
1 parent 843597c commit 4b5fe85
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ int Plugin::configure(int item)
return ret;
}

HANDLE Plugin::openPlugin(int openFrom, intptr_t item)
HANDLE Plugin::openPlugin(int openFrom, INT_PTR item)
{
UNUSED(openFrom)
UNUSED(item)
Expand Down
2 changes: 1 addition & 1 deletion src/Plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Plugin
void exitFar();
void getPluginInfo(PluginInfo* pi);
int configure(int item);
HANDLE openPlugin(int openFrom, intptr_t item);
HANDLE openPlugin(int openFrom, INT_PTR item);
void closePlugin(HANDLE Plugin);
void getOpenPluginInfo(HANDLE Plugin, OpenPluginInfo* pluginInfo);
int getFindData(HANDLE Plugin, PluginPanelItem** PanelItem, int* itemsNumber, int OpMode);
Expand Down
2 changes: 1 addition & 1 deletion src/PluginMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SHAREDSYMBOL int WINAPI ConfigureW(int item)
return Plugin::getInstance().configure(item);
}

SHAREDSYMBOL HANDLE WINAPI OpenPluginW(int openFrom, intptr_t item)
SHAREDSYMBOL HANDLE WINAPI OpenPluginW(int openFrom, INT_PTR item)
{
return Plugin::getInstance().openPlugin(openFrom, item);
}
Expand Down

0 comments on commit 4b5fe85

Please sign in to comment.