From owner-freebsd-hackers Tue Oct 12 22:56:41 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id 46C6314C4F for ; Tue, 12 Oct 1999 22:56:40 -0700 (PDT) (envelope-from adsharma@c62443-a.frmt1.sfba.home.com) Received: from c62443-a.frmt1.sfba.home.com ([24.0.69.165]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <19991013055639.PZLH28137.mail.rdc1.sfba.home.com@c62443-a.frmt1.sfba.home.com> for ; Tue, 12 Oct 1999 22:56:39 -0700 Received: (from adsharma@localhost) by c62443-a.frmt1.sfba.home.com (8.9.3/8.9.3) id WAA31178 for freebsd-hackers@freebsd.org; Tue, 12 Oct 1999 22:56:39 -0700 Date: Tue, 12 Oct 1999 22:56:39 -0700 From: Arun Sharma To: freebsd-hackers@freebsd.org Subject: vm_map.h and C++ warnings Message-ID: <19991012225639.A31171@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The following patch fixes it. -Arun # diff -u vm_map.h- vm_map.h --- vm_map.h- Tue Oct 12 22:52:10 1999 +++ vm_map.h Tue Oct 12 22:54:58 1999 @@ -229,7 +229,7 @@ #if defined(MAP_LOCK_DIAGNOSTIC) printf("locking map LK_EXCLUPGRADE: 0x%x\n", map); #endif - error = lockmgr(&map->lock, LK_EXCLUPGRADE, (void *)0, p); + error = lockmgr(&map->lock, LK_EXCLUPGRADE, (struct simplelock *)0, p); if (error == 0) map->timestamp++; return error; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message