diff options
author | Andreas Tobler <a.tobler@schweiz.ch> | 2006-07-04 22:21:40 +0200 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2006-07-04 22:21:40 +0200 |
commit | d25f0ebc386ed1a8579c54e3b7d815633daaee1d (patch) | |
tree | df79bd6e530999bef7480c314c71636a275971fc /libjava/win32.cc | |
parent | 706601d965756f53d473d8b173c788cefc9b2917 (diff) | |
download | gcc-d25f0ebc386ed1a8579c54e3b7d815633daaee1d.zip gcc-d25f0ebc386ed1a8579c54e3b7d815633daaee1d.tar.gz gcc-d25f0ebc386ed1a8579c54e3b7d815633daaee1d.tar.bz2 |
re PR libgcj/28226 (posix.cc:222: error: invalid conversion from 'const void*' to 'void*')
2006-07-04 Andreas Tobler <a.tobler@schweiz.ch>
PR libgcj/28226:
* include/posix.h (_Jv_platform_dladdr): Remove const qualifier.
* include/win32.h (_Jv_platform_dladdr): Likewise.
* posix.cc (_Jv_platform_dladdr): Likewise.
* win32.cc (_Jv_platform_dladdr): Likewise.
From-SVN: r115184
Diffstat (limited to 'libjava/win32.cc')
-rw-r--r-- | libjava/win32.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/win32.cc b/libjava/win32.cc index a78f814..00b4279 100644 --- a/libjava/win32.cc +++ b/libjava/win32.cc @@ -463,7 +463,7 @@ _Jv_platform_close_on_exec (HANDLE h) // defined symbol to that address. Returns 0 if no object defines this // address. int -_Jv_platform_dladdr (const void *addr, _Jv_AddrInfo *info) +_Jv_platform_dladdr (void *addr, _Jv_AddrInfo *info) { // Since we do not have dladdr() on Windows, we use a trick involving // VirtualQuery() to find the module (EXE or DLL) that contains a given |