From owner-cvs-src@FreeBSD.ORG Sun Nov 16 18:11:14 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40D2316A4CE; Sun, 16 Nov 2003 18:11:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC94743FBD; Sun, 16 Nov 2003 18:11:13 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH2BDXJ053375; Sun, 16 Nov 2003 18:11:13 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH2BDqr053374; Sun, 16 Nov 2003 18:11:13 -0800 (PST) (envelope-from bde) Message-Id: <200311170211.hAH2BDqr053374@repoman.freebsd.org> From: Bruce Evans Date: Sun, 16 Nov 2003 18:11:13 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/include atomic.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 02:11:14 -0000 bde 2003/11/16 18:11:13 PST FreeBSD src repository Modified files: sys/i386/include atomic.h Log: Avoid a warning for compiling with `gcc -Wbad-function cast'. (This is the warning that points to the bug in `(char *)malloc(...)' where malloc() is implicitly declared as returning int. We do similar things here, but they work because u_int is the same as uintptr_t on i386's.) Revision Changes Path 1.30 +5 -1 src/sys/i386/include/atomic.h