From f7b48b5c252a16d15af7edd53b7870240749c7d4 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 25 Apr 2024 00:54:26 +0100 Subject: [PATCH] gmodule: Fix various implicit conversions from size_t to smaller types Basically various trivial instances of the following MSVC compiler warning: ``` ../gio/gio-tool-set.c(50): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data ``` Signed-off-by: Philip Withnall --- gmodule/gmodule-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmodule/gmodule-win32.c b/gmodule/gmodule-win32.c index bea841271..5748bef0f 100644 --- a/gmodule/gmodule-win32.c +++ b/gmodule/gmodule-win32.c @@ -205,7 +205,7 @@ static gchar* _g_module_build_path (const gchar *directory, const gchar *module_name) { - gint k; + size_t k; k = strlen (module_name);