diff options
author | nyamatongwe <unknown> | 2003-04-18 02:16:17 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-04-18 02:16:17 +0000 |
commit | ba73d141c8e5980c4b3d13004e3002b4577d40f8 (patch) | |
tree | 719d0ff3bdbfa1b220ebf4fc08cc591b1637045c | |
parent | 297ba8c63024f4211873fed0b3fbfba573430f5e (diff) | |
download | scintilla-mirror-ba73d141c8e5980c4b3d13004e3002b4577d40f8.tar.gz |
Cast to allow recent gcc and Borland compilers to build.
-rw-r--r-- | win32/PlatWin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index c61a67ca9..c92b274cb 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -1304,7 +1304,8 @@ public: // Use GetProcAddress to get a pointer to the relevant function. virtual Function *FindFunction(const char *name) { if (h != NULL) { - return reinterpret_cast<Function*>( ::GetProcAddress(h, name) ); + return static_cast<Function*>( + (void *)(::GetProcAddress(h, name))); } else return NULL; } |