diff options
author | Daniele Nicolodi <daniele@grinta.net> | 2021-05-02 12:32:44 +0200 |
---|---|---|
committer | Daniele Nicolodi <daniele@grinta.net> | 2021-05-08 18:30:39 +0200 |
commit | 1650209cf64cd6c26d3c97e9faf07ec20d97993e (patch) | |
tree | e09b2dffc1a4309322e281a69611f085c19e30cd /utils | |
parent | 66c9c400b2227d2926d8eb13de006001942b75d8 (diff) | |
download | tracker-1650209cf64cd6c26d3c97e9faf07ec20d97993e.tar.gz |
mtp-dummy: Fix gint vs gsize comparison
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mtp/mtp-dummy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mtp/mtp-dummy.c b/utils/mtp/mtp-dummy.c index ee826bd60..46f1cb49e 100644 --- a/utils/mtp/mtp-dummy.c +++ b/utils/mtp/mtp-dummy.c @@ -38,7 +38,7 @@ static gboolean use_hidden; static gboolean use_batch; /* copy_rate*1024*COPY_TIMEOUT_MS/1000 */ -static gint timeout_copy_rate; +static gsize timeout_copy_rate; static gchar *buffer; static gsize buffer_size; @@ -298,7 +298,7 @@ Simulating MTP daemon with:\n\ * File: %s (%" G_GSIZE_FORMAT " bytes)\n\ * Destdir: %s\n\ * Copies: %d\n\ - * Rate: %d KBytes/s (%d bytes every %d ms)\n\ + * Rate: %d KBytes/s (%" G_GSIZE_FORMAT "bytes every %d ms)\n\ * Mode: %s\n", file_uri, buffer_size, |