[libwnck/wip/warnings3: 3/12] util: fix 'comparison between signed and unsigned integer' warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/warnings3: 3/12] util: fix 'comparison between signed and unsigned integer' warning
- Date: Fri, 5 May 2017 09:46:59 +0000 (UTC)
commit 0c6ad084ffb6d0d3a4296bdc258fdc2963333756
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Apr 28 13:56:30 2017 +0300
util: fix 'comparison between signed and unsigned integer' warning
libwnck/util.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/util.c b/libwnck/util.c
index c19a85a..7ee54fa 100644
--- a/libwnck/util.c
+++ b/libwnck/util.c
@@ -562,7 +562,7 @@ wnck_pid_read_resource_usage_no_cache (GdkDisplay *gdisplay,
tmp = windows;
while (tmp != NULL)
{
- if (wnck_window_get_pid (tmp->data) == pid)
+ if (wnck_window_get_pid (tmp->data) == (int) pid)
{
wnck_xid_read_resource_usage (gdisplay,
wnck_window_get_xid (tmp->data),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]