[rhythmbox: 1/2] mtp: use %G_GUINT64_FORMAT instead of %lu to display guint64 types
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox: 1/2] mtp: use %G_GUINT64_FORMAT instead of %lu to display guint64 types
- Date: Sat, 20 Jun 2020 10:06:21 +0000 (UTC)
commit 7b20b2cf55b38f30a5abaed385b8341ac4de85b3
Author: crvi <crvisqr gmail com>
Date: Sun Jun 14 09:56:22 2020 +0530
mtp: use %G_GUINT64_FORMAT instead of %lu to display guint64 types
Fixes: #1796
plugins/mtpdevice/rb-mtp-thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/mtpdevice/rb-mtp-thread.c b/plugins/mtpdevice/rb-mtp-thread.c
index a3cd3c48a..ea94c62fd 100644
--- a/plugins/mtpdevice/rb-mtp-thread.c
+++ b/plugins/mtpdevice/rb-mtp-thread.c
@@ -532,7 +532,7 @@ download_track (RBMtpThread *thread, RBMtpThreadTask *task)
static int
upload_progress (const uint64_t sent, const uint64_t total, const void * const data)
{
- rb_debug ("upload: %lu of %lu", sent, total);
+ rb_debug ("upload: %" G_GUINT64_FORMAT " of %" G_GUINT64_FORMAT, sent, total);
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]