mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +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;
|
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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user