mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
winhttpfile: use glib format string macro
Like this we avoid some downstream patching for msys2
This commit is contained in:
parent
a89629db1d
commit
305a9b12c9
@ -549,7 +549,7 @@ g_winhttp_file_query_info (GFile *file,
|
||||
gint64 cl;
|
||||
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))
|
||||
g_file_info_set_size (info, cl);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user