Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta (tmow) <antenore@simbiosi.org>2022-01-14 12:48:27 +0300
committerAntenore Gatta (tmow) <antenore@simbiosi.org>2022-01-14 12:48:27 +0300
commit0b4cdd498324ae2de1a18ef7ba6e4ac6d7df7db4 (patch)
tree67ebbd1eab3f08ca2be677bba31e9abf9f6f66da /plugins
parent9e7d3a6a32d1ca94de862a7118649e80478079d9 (diff)
Fixing some gcc warnings
Diffstat (limited to 'plugins')
-rw-r--r--plugins/rdp/rdp_monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/rdp/rdp_monitor.c b/plugins/rdp/rdp_monitor.c
index a4ee6f496..fddeed776 100644
--- a/plugins/rdp/rdp_monitor.c
+++ b/plugins/rdp/rdp_monitor.c
@@ -113,7 +113,7 @@ void remmina_rdp_monitor_get (rfContext *rfi, gchar **monitorids, guint32 *maxwi
rdpMonitor* current;
if (has_custom_monitors) {
REMMINA_PLUGIN_DEBUG("We have custom monitors");
- gchar itoc[10];
+ gchar itoc[11];
snprintf(itoc, sizeof(itoc), "%d", i);
if (remmina_rdp_utils_strpos(*monitorids, itoc) < 0 ) {
REMMINA_PLUGIN_DEBUG("Monitor n %d it's out of the provided list", i);