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 fa797de1406767b38fc709d05a15931142827c56 Author: rim <rozhuk...@gmail.com> Date: Sat May 26 23:30:22 2018 +0200 More sizeof uses (bug 14401, bug 14403) --- src/task-manager-skel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/task-manager-skel.c b/src/task-manager-skel.c index d9d1ad5..06229e8 100644 --- a/src/task-manager-skel.c +++ b/src/task-manager-skel.c @@ -50,9 +50,9 @@ get_cpu_usage (gushort *cpu_count, gfloat *cpu_user, gfloat *cpu_system) static gboolean get_task_details (guint pid, Task *task) { - g_snprintf (task->name, 256, "foo"); - g_snprintf (task->cmdline, 1024, "foo -bar"); - g_snprintf (task->uid_name, 256, "baz"); + g_snprintf (task->name, sizeof(task->name), "foo"); + g_snprintf (task->cmdline, sizeof(task->cmdline), "foo -bar"); + g_snprintf (task->uid_name, sizeof(task->uid_name), "baz"); return TRUE; } -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits