aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/file_util.c2
-rw-r--r--wsutil/file_util.h2
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.