summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hillcrest
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_hillcrest')
-rw-r--r--ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest.cpp4
-rw-r--r--ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest_dialog.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest.cpp b/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest.cpp
index e7ef4c0f..2e3cd8e2 100644
--- a/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest.cpp
+++ b/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest.cpp
@@ -250,7 +250,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;
}
diff --git a/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest_dialog.cpp b/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest_dialog.cpp
index 0cb486fe..c47db85f 100644
--- a/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest_dialog.cpp
+++ b/ftnoir_tracker_hillcrest/ftnoir_tracker_hillcrest_dialog.cpp
@@ -162,7 +162,7 @@ void TrackerControls::save() {
// _GetTrackerDialog@0 - Common name decoration for __stdcall functions in C language.
//#pragma comment(linker, "/export:GetTrackerDialog=_GetTrackerDialog@0")
-extern "C" FTNOIR_TRACKER_BASE_EXPORT void* CALLING_CONVENTION GetDialog( )
+extern "C" FTNOIR_TRACKER_BASE_EXPORT ITrackerDialog* CALLING_CONVENTION GetDialog( )
{
- return (ITrackerDialog*) new TrackerControls;
+ return new TrackerControls;
}