forked from osmocom/wireshark
ws_load_library() is called with constant char reflect that.MSVC15 build.
Change-Id: I7d103c7316ee372b5cdb3aa9033a62eb75cd38b2 Reviewed-on: https://code.wireshark.org/review/14702 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
3c5d139c42
commit
3f653f64b2
|
@ -533,7 +533,7 @@ ws_init_dll_search_path()
|
|||
*/
|
||||
|
||||
void *
|
||||
ws_load_library(gchar *library_name)
|
||||
ws_load_library(const gchar *library_name)
|
||||
{
|
||||
gchar *full_path;
|
||||
wchar_t *full_path_w;
|
||||
|
|
|
@ -140,7 +140,7 @@ gboolean ws_init_dll_search_path();
|
|||
*/
|
||||
|
||||
WS_DLL_PUBLIC
|
||||
void *ws_load_library(gchar *library_name);
|
||||
void *ws_load_library(const gchar *library_name);
|
||||
|
||||
/** Load a DLL using g_module_open.
|
||||
* Only the system and program directories are searched.
|
||||
|
|
Loading…
Reference in New Issue