summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2007-10-24 20:20:33 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2007-10-24 20:20:33 +0000
commit5da0efd695990a96376d30986ce3dde7d0c42f04 (patch)
tree75f96687f8887b89039dc897fcc5c3d05cf217ef /usr.sbin/ripd
parentc6e89e43a2148893ab3e7f4f63b9eaa0354eebce (diff)
Use an ssize_t instead of int like in all other imsg handlers. Hint by lint
Diffstat (limited to 'usr.sbin/ripd')
-rw-r--r--usr.sbin/ripd/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ripd/control.c b/usr.sbin/ripd/control.c
index e85e6818946..ed28aa95367 100644
--- a/usr.sbin/ripd/control.c
+++ b/usr.sbin/ripd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.4 2007/10/17 19:57:54 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.5 2007/10/24 20:20:32 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -186,7 +186,7 @@ control_dispatch_imsg(int fd, short event, void *bula)
{
struct ctl_conn *c;
struct imsg imsg;
- int n;
+ ssize_t n;
unsigned int ifidx;
if ((c = control_connbyfd(fd)) == NULL) {