[Xfce4-commits] [apps/xfce4-taskmanager] 02/03: add proper casts around gsize calculation
noreply at xfce.org
noreply at xfce.org
Mon Dec 10 08:02:26 CET 2018
This is an automated email from the git hooks/post-receive script.
l a n d r y p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-taskmanager.
commit 203514ff9689c998949fcc38b81fec017a6415ba
Author: Landry Breuil <landry at xfce.org>
Date: Mon Dec 10 07:59:16 2018 +0100
add proper casts around gsize calculation
---
src/task-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/task-manager.c b/src/task-manager.c
index 025125d..6d3b09a 100644
--- a/src/task-manager.c
+++ b/src/task-manager.c
@@ -172,7 +172,7 @@ pretty_cmdline (gchar *cmdline, gchar *comm)
gchar *p = g_strstr_len (text, (gssize)text_size, comm);
if (p != NULL)
{
- memmove (text, p, (text_size - (p - text)));
+ memmove (text, p, (gsize)(text_size - (gsize)(p - text)));
}
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list