aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index c92b274cb..472c8b9a2 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -1302,9 +1302,9 @@ public:
}
// Use GetProcAddress to get a pointer to the relevant function.
- virtual Function *FindFunction(const char *name) {
+ virtual Function FindFunction(const char *name) {
if (h != NULL) {
- return static_cast<Function*>(
+ return static_cast<Function>(
(void *)(::GetProcAddress(h, name)));
} else
return NULL;