mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-09-20 09:16:15 +02:00
gio: Fix -Werror format string errors from mismatched ints.
This commit is contained in:
parent
7eb1e5fc5b
commit
0167c3340d
@ -3468,10 +3468,10 @@ g_dbus_message_print (GDBusMessage *message,
|
|||||||
statbuf.st_mode);
|
statbuf.st_mode);
|
||||||
g_string_append_printf (fs, "%s" "ino=%" G_GUINT64_FORMAT, fs->len > 0 ? "," : "",
|
g_string_append_printf (fs, "%s" "ino=%" G_GUINT64_FORMAT, fs->len > 0 ? "," : "",
|
||||||
(guint64) statbuf.st_ino);
|
(guint64) statbuf.st_ino);
|
||||||
g_string_append_printf (fs, "%s" "uid=%d", fs->len > 0 ? "," : "",
|
g_string_append_printf (fs, "%s" "uid=%u", fs->len > 0 ? "," : "",
|
||||||
statbuf.st_uid);
|
(guint) statbuf.st_uid);
|
||||||
g_string_append_printf (fs, "%s" "gid=%d", fs->len > 0 ? "," : "",
|
g_string_append_printf (fs, "%s" "gid=%u", fs->len > 0 ? "," : "",
|
||||||
statbuf.st_gid);
|
(guint) statbuf.st_gid);
|
||||||
g_string_append_printf (fs, "%s" "rdev=%d:%d", fs->len > 0 ? "," : "",
|
g_string_append_printf (fs, "%s" "rdev=%d:%d", fs->len > 0 ? "," : "",
|
||||||
major (statbuf.st_rdev), minor (statbuf.st_rdev));
|
major (statbuf.st_rdev), minor (statbuf.st_rdev));
|
||||||
g_string_append_printf (fs, "%s" "size=%" G_GUINT64_FORMAT, fs->len > 0 ? "," : "",
|
g_string_append_printf (fs, "%s" "size=%" G_GUINT64_FORMAT, fs->len > 0 ? "," : "",
|
||||||
|
@ -2155,7 +2155,7 @@ write_message_print_transport_debug (gssize bytes_written,
|
|||||||
_g_dbus_debug_print_lock ();
|
_g_dbus_debug_print_lock ();
|
||||||
g_print ("========================================================================\n"
|
g_print ("========================================================================\n"
|
||||||
"GDBus-debug:Transport:\n"
|
"GDBus-debug:Transport:\n"
|
||||||
" >>>> WROTE %" G_GSIZE_FORMAT " bytes of message with serial %d and\n"
|
" >>>> WROTE %" G_GSSIZE_FORMAT " bytes of message with serial %d and\n"
|
||||||
" size %" G_GSIZE_FORMAT " from offset %" G_GSIZE_FORMAT " on a %s\n",
|
" size %" G_GSIZE_FORMAT " from offset %" G_GSIZE_FORMAT " on a %s\n",
|
||||||
bytes_written,
|
bytes_written,
|
||||||
g_dbus_message_get_serial (data->message),
|
g_dbus_message_get_serial (data->message),
|
||||||
@ -2206,7 +2206,7 @@ read_message_print_transport_debug (gssize bytes_read,
|
|||||||
_g_dbus_debug_print_lock ();
|
_g_dbus_debug_print_lock ();
|
||||||
g_print ("========================================================================\n"
|
g_print ("========================================================================\n"
|
||||||
"GDBus-debug:Transport:\n"
|
"GDBus-debug:Transport:\n"
|
||||||
" <<<< READ %" G_GSIZE_FORMAT " bytes of message with serial %d and\n"
|
" <<<< READ %" G_GSSIZE_FORMAT " bytes of message with serial %d and\n"
|
||||||
" size %d to offset %" G_GSIZE_FORMAT " from a %s\n",
|
" size %d to offset %" G_GSIZE_FORMAT " from a %s\n",
|
||||||
bytes_read,
|
bytes_read,
|
||||||
serial,
|
serial,
|
||||||
|
Loading…
Reference in New Issue
Block a user