diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-29 16:04:58 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-29 16:04:58 +0200 |
commit | 0522ef2ec6de1bc35721613ded92c832930e9a9e (patch) | |
tree | d4b7ca32558895da812733af8d48f94ab34bbd95 /ftnoir_tracker_udp/ftnoir_tracker_udp.cpp | |
parent | 6fdcf9004e0aafb796592ab5120f1bd90190e2c3 (diff) |
Correct prototypes
Diffstat (limited to 'ftnoir_tracker_udp/ftnoir_tracker_udp.cpp')
-rw-r--r-- | ftnoir_tracker_udp/ftnoir_tracker_udp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp b/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp index 38ead3c0..7fc76f4a 100644 --- a/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp +++ b/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp @@ -167,7 +167,7 @@ void FTNoIR_Tracker::loadSettings() { // _GetTracker@0 - Common name decoration for __stdcall functions in C language.
//#pragma comment(linker, "/export:GetTracker=_GetTracker@0")
-extern "C" FTNOIR_TRACKER_BASE_EXPORT void* CALLING_CONVENTION GetConstructor()
+extern "C" FTNOIR_TRACKER_BASE_EXPORT ITracker* CALLING_CONVENTION GetConstructor()
{
- return (ITracker*) new FTNoIR_Tracker;
+ return new FTNoIR_Tracker;
}
|