From 0bb00a0df311a9d2b8c7b7ae17ef9f9112c61bb9 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sat, 14 Nov 2009 17:49:37 +0000 Subject: [PATCH] Sync OpenBSD patchset 536: imsg_read returns ssize_t not int, pointed out by lint via deraadt. --- client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index 9826d050..3252ccb9 100644 --- a/client.c +++ b/client.c @@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.87 2009-11-10 23:28:53 tcunha Exp $ */ +/* $Id: client.c,v 1.88 2009-11-14 17:49:37 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -257,7 +257,7 @@ client_signal(int sig, unused short events, unused void *data) void client_callback(unused int fd, short events, unused void *data) { - int n; + ssize_t n; if (events & EV_READ) { if ((n = imsg_read(&client_ibuf)) == -1 || n == 0)