[C++/mingw] gdb-dlfcn.c casts
authorPedro Alves <palves@redhat.com>
Tue, 17 Nov 2015 15:17:44 +0000 (15:17 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 17 Nov 2015 15:18:58 +0000 (15:18 +0000)
commit2986367f8eea0dc5febab9c9fd1cf06b3a4a8fdb
tree0f4c966a7306f8605823b4e5ab82cd48d8ca3a61
parent0ae1c716a162ce43a63c16c37aa8c6caaa484650
[C++/mingw] gdb-dlfcn.c casts

Fixes:

../../src/gdb/gdb-dlfcn.c: In function 'void* gdb_dlsym(void*, const char*)':
../../src/gdb/gdb-dlfcn.c:105:49: error: invalid conversion from 'void*' to 'HMODULE {aka HINSTANCE__*}' [-fpermissive]
   return (void *) GetProcAddress (handle, symbol);
                                                 ^

gdb/ChangeLog:
2015-11-17  Pedro Alves  <palves@redhat.com>

* gdb-dlfcn.c (gdb_dlsym, gdb_dlclose) [__MINGW32__]: Add casts to
HMODULE.
gdb/ChangeLog
gdb/gdb-dlfcn.c
This page took 0.024589 seconds and 4 git commands to generate.