From owner-cvs-all Mon Oct 7 15:58:26 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4763937B401; Mon, 7 Oct 2002 15:58:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED79943E4A; Mon, 7 Oct 2002 15:58:24 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from freefall.freebsd.org (imp@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g97MwOCo099379; Mon, 7 Oct 2002 15:58:24 -0700 (PDT) (envelope-from imp@freefall.freebsd.org) Received: (from imp@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g97MwO6D099378; Mon, 7 Oct 2002 15:58:24 -0700 (PDT) Message-Id: <200210072258.g97MwO6D099378@freefall.freebsd.org> From: Warner Losh Date: Mon, 7 Oct 2002 15:58:24 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/cardbus cardbusreg.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG imp 2002/10/07 15:58:24 PDT Modified files: sys/dev/cardbus cardbusreg.h Log: Don't abuse the fact that -a == ~a + 1. Signed vs unsigned checkers complain when a is a unsigned type. So instead use the latter here and be on our way. Spotted by: flexlint by way of phk Revision Changes Path 1.6 +2 -2 src/sys/dev/cardbus/cardbusreg.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message