diff options
Diffstat (limited to 'ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp')
-rw-r--r-- | ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp index 424dc5aa..50806ca7 100644 --- a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp +++ b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp @@ -123,7 +123,7 @@ bool FTNoIR_Protocol::checkServerInstallationOK() // _GetProtocol@0 - Common name decoration for __stdcall functions in C language.
//#pragma comment(linker, "/export:GetProtocol=_GetProtocol@0")
-extern "C" FTNOIR_PROTOCOL_BASE_EXPORT void* CALLING_CONVENTION GetConstructor()
+extern "C" FTNOIR_PROTOCOL_BASE_EXPORT IProtocol* CALLING_CONVENTION GetConstructor()
{
- return (IProtocol*) new FTNoIR_Protocol;
+ return new FTNoIR_Protocol;
}
|