Module Name:    src
Committed By:   pooka
Date:           Fri Feb 11 14:02:13 UTC 2011

Modified Files:
        src/lib/librumphijack: hijack.c

Log Message:
play the important typecast game


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/lib/librumphijack/hijack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/librumphijack/hijack.c
diff -u src/lib/librumphijack/hijack.c:1.36 src/lib/librumphijack/hijack.c:1.37
--- src/lib/librumphijack/hijack.c:1.36	Fri Feb 11 12:46:41 2011
+++ src/lib/librumphijack/hijack.c	Fri Feb 11 14:02:12 2011
@@ -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 <sys/cdefs.h>
-__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 @@
 		if (incr)
 			j++;
 	}
-	assert(j == realnfds);
+	assert(j == (int)realnfds);
 
 	if (timeout) {
 		TIMEVAL_TO_TIMESPEC(timeout, &ts);

Reply via email to