From 23e9017afffab2f13cf0540efc688f4079464a77 Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Fri, 14 May 2021 14:00:05 +0200 Subject: [PATCH] Fix signedness warning in gio/win32/gwinhttpfile.c gio/win32/gwinhttpfile.c: In function 'g_winhttp_file_query_info': gio/win32/gwinhttpfile.c:554:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} n == wcslen (content_length)) ^~ --- gio/win32/gwinhttpfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/win32/gwinhttpfile.c b/gio/win32/gwinhttpfile.c index 5b8dcfe0b..e73c87658 100644 --- a/gio/win32/gwinhttpfile.c +++ b/gio/win32/gwinhttpfile.c @@ -546,7 +546,7 @@ g_winhttp_file_query_info (GFile *file, NULL)) { gint64 cl; - int n; + size_t n; const char *gint64_format = "%"G_GINT64_FORMAT"%n"; wchar_t *gint64_format_w = g_utf8_to_utf16 (gint64_format, -1, NULL, NULL, NULL);