Date: Wed, 9 Dec 2015 19:22:20 +0000 (UTC) From: Craig Rodrigues <rodrigc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292023 - head/lib/libopenbsd Message-ID: <201512091922.tB9JMK3t092598@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rodrigc Date: Wed Dec 9 19:22:20 2015 New Revision: 292023 URL: https://svnweb.freebsd.org/changeset/base/292023 Log: Merge from OpenBSD: revision 1.13 date: 2015/12/09 11:54:12; author: tb; state: Exp; lines: +2 -2 Add a cast to silence a compiler warning by clang on FreeBSD. From Craig Rodrigues. ok tedu@ Modified: head/lib/libopenbsd/imsg.c Modified: head/lib/libopenbsd/imsg.c ============================================================================== --- head/lib/libopenbsd/imsg.c Wed Dec 9 19:21:00 2015 (r292022) +++ head/lib/libopenbsd/imsg.c Wed Dec 9 19:22:20 2015 (r292023) @@ -1,4 +1,4 @@ -/* $OpenBSD: imsg.c,v 1.12 2015/12/05 13:06:52 claudio Exp $ */ +/* $OpenBSD: imsg.c,v 1.13 2015/12/09 11:54:12 tb Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -74,7 +74,7 @@ imsg_read(struct imsgbuf *ibuf) again: if (getdtablecount() + imsg_fd_overhead + - (CMSG_SPACE(sizeof(int))-CMSG_SPACE(0))/sizeof(int) + (int)((CMSG_SPACE(sizeof(int))-CMSG_SPACE(0))/sizeof(int)) >= getdtablesize()) { errno = EAGAIN; free(ifd);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512091922.tB9JMK3t092598>