mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
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)) ^~
This commit is contained in:
parent
a16d6398d7
commit
23e9017aff
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user