From 84d55c436cbf7c380233b1fbf35d4fc6634fa9d9 Mon Sep 17 00:00:00 2001 From: pooka Date: Fri, 11 Feb 2011 14:02:12 +0000 Subject: [PATCH] play the important typecast game --- lib/librumphijack/hijack.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librumphijack/hijack.c b/lib/librumphijack/hijack.c index 250262ccc315..dbcc2c430f48 100644 --- a/lib/librumphijack/hijack.c +++ b/lib/librumphijack/hijack.c @@ -1,4 +1,4 @@ -/* $NetBSD: hijack.c,v 1.36 2011/02/11 12:46:41 pooka Exp $ */ +/* $NetBSD: hijack.c,v 1.37 2011/02/11 14:02:12 pooka Exp $ */ /*- * Copyright (c) 2011 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include -__RCSID("$NetBSD: hijack.c,v 1.36 2011/02/11 12:46:41 pooka Exp $"); +__RCSID("$NetBSD: hijack.c,v 1.37 2011/02/11 14:02:12 pooka Exp $"); #define __ssp_weak_name(fun) _hijack_ ## fun @@ -591,7 +591,7 @@ REALSELECT(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, if (incr) j++; } - assert(j == realnfds); + assert(j == (int)realnfds); if (timeout) { TIMEVAL_TO_TIMESPEC(timeout, &ts);