[gnome-remote-desktop] clipboard-rdp: Use the correct printf format for formatId
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-remote-desktop] clipboard-rdp: Use the correct printf format for formatId
- Date: Thu, 4 Mar 2021 20:01:49 +0000 (UTC)
commit fda8b1c0df3f767a0b44829dab0b57664c2581ff
Author: Pascal Nowack <Pascal Nowack gmx de>
Date: Sat Feb 27 00:00:10 2021 +0100
clipboard-rdp: Use the correct printf format for formatId
formatId is an unsigned type, so use %u, instead of %i as format.
src/grd-clipboard-rdp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/grd-clipboard-rdp.c b/src/grd-clipboard-rdp.c
index bda0b0b..da5a301 100644
--- a/src/grd-clipboard-rdp.c
+++ b/src/grd-clipboard-rdp.c
@@ -870,7 +870,7 @@ cliprdr_client_format_list (CliprdrServerContext *cliprdr_context,
mime_type = GRD_MIME_TYPE_TEXT_UTF8_STRING;
already_has_text_format = TRUE;
g_debug ("[RDP.CLIPRDR] Client advertised data for UTF8_STRING"
- " (external format: id: %i, name: %s)",
+ " (external format: id: %u, name: %s)",
format_list->formats[i].formatId,
format_list->formats[i].formatName);
}
@@ -891,7 +891,7 @@ cliprdr_client_format_list (CliprdrServerContext *cliprdr_context,
mime_type = GRD_MIME_TYPE_IMAGE_PNG;
break;
default:
- g_debug ("[RDP.CLIPRDR] Client advertised unknown format: id: %i, "
+ g_debug ("[RDP.CLIPRDR] Client advertised unknown format: id: %u, "
"name: %s", format_list->formats[i].formatId,
format_list->formats[i].formatName);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]