From owner-cvs-all Sun Oct 28 17:31:44 2001 Delivered-To: cvs-all@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id 0C3BD37B401; Sun, 28 Oct 2001 17:31:36 -0800 (PST) Received: from remote (mjacob.rdsl.lmi.net [204.182.55.51]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id f9T1VZH14292; Sun, 28 Oct 2001 17:31:35 -0800 (PST) (envelope-from mjacob@feral.com) Date: Sun, 28 Oct 2001 17:31:35 -0800 (PST) From: Matthew Jacob X-X-Sender: Reply-To: To: Matt Dillon Cc: , Subject: Re: cvs commit: src/sys/dev/streams streams.c In-Reply-To: <200110290122.f9T1MFB34156@freefall.freebsd.org> Message-ID: <20011028172926.R17964-100000@remote> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I don't think that this works. Isn't dev_t: typedef struct specinfo *dev_t; So, clearly attempts to compile this on an alpha with the cast will just whine because you're coercing a pointer to an int half the size of the pointer, no? On Sun, 28 Oct 2001, Matt Dillon wrote: > dillon 2001/10/28 17:22:15 PST > > Modified files: > sys/dev/streams streams.c > Log: > cast dev_t to int in printf to fix warning. > > Revision Changes Path > 1.25 +2 -2 src/sys/dev/streams/streams.c > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message