diff options
author | AndersBroman <anders.broman@ericsson.com> | 2016-03-30 14:27:03 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-03-30 13:38:32 +0000 |
commit | 3f653f64b23113520c138961d0e95a383f6d81f0 (patch) | |
tree | 8f3e0443efee946cee0499cca0170e0c8bc9e740 /wsutil | |
parent | 3c5d139c42416df9330a94599e0b5e97a3dfc98b (diff) |
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>
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/file_util.c | 2 | ||||
-rw-r--r-- | wsutil/file_util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/file_util.c b/wsutil/file_util.c index 48570027b6..dab691719b 100644 --- a/wsutil/file_util.c +++ b/wsutil/file_util.c @@ -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; diff --git a/wsutil/file_util.h b/wsutil/file_util.h index 813c349cfc..057fdadb55 100644 --- a/wsutil/file_util.h +++ b/wsutil/file_util.h @@ -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. |