mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 11:14:05 +02:00
winhttpfile: use glib format string macro
Like this we avoid some downstream patching for msys2
This commit is contained in:
@@ -549,7 +549,7 @@ g_winhttp_file_query_info (GFile *file,
|
|||||||
gint64 cl;
|
gint64 cl;
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
if (swscanf (content_length, L"%I64d%n", &cl, &n) == 1 &&
|
if (swscanf (content_length, L"%"G_GINT64_FORMAT"%n", &cl, &n) == 1 &&
|
||||||
n == wcslen (content_length))
|
n == wcslen (content_length))
|
||||||
g_file_info_set_size (info, cl);
|
g_file_info_set_size (info, cl);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user