Date: Sun, 28 Oct 2001 17:31:35 -0800 (PST) From: Matthew Jacob <mjacob@feral.com> To: Matt Dillon <dillon@FreeBSD.org> Cc: <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/sys/dev/streams streams.c Message-ID: <20011028172926.R17964-100000@remote> In-Reply-To: <200110290122.f9T1MFB34156@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011028172926.R17964-100000>