summaryrefslogtreecommitdiff
path: root/proclist.c
diff options
context:
space:
mode:
Diffstat (limited to 'proclist.c')
-rw-r--r--proclist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proclist.c b/proclist.c
index b5acb26c..38368feb 100644
--- a/proclist.c
+++ b/proclist.c
@@ -10,7 +10,7 @@
#define PID_STR_SIZE (3 * sizeof (pid_t) + 1)
static error_t
-proclist_get_contents (void *hook, char **contents, size_t *contents_len)
+proclist_get_contents (void *hook, char **contents, ssize_t *contents_len)
{
struct ps_context *pc = hook;
pidarray_t pids;