diff options
| author | nyamatongwe <devnull@localhost> | 2003-04-18 02:16:17 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2003-04-18 02:16:17 +0000 |
| commit | b0f9ebaa5b3d759bc14d2093bf51f24ae6201977 (patch) | |
| tree | 719d0ff3bdbfa1b220ebf4fc08cc591b1637045c | |
| parent | 656da782e0810ea90016c818b40c9305dc783966 (diff) | |
| download | scintilla-mirror-b0f9ebaa5b3d759bc14d2093bf51f24ae6201977.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; } |
