[tracker: 3/14] mtp-dummy: Fix gint vs gsize comparison
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker: 3/14] mtp-dummy: Fix gint vs gsize comparison
- Date: Sat, 8 May 2021 17:25:47 +0000 (UTC)
commit 1650209cf64cd6c26d3c97e9faf07ec20d97993e
Author: Daniele Nicolodi <daniele grinta net>
Date: Sun May 2 12:32:44 2021 +0200
mtp-dummy: Fix gint vs gsize comparison
utils/mtp/mtp-dummy.c | 4 ++--
1 file 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]