Date: Sun, 28 Oct 2001 17:46:54 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Matthew Jacob <mjacob@feral.com> Cc: <cvs-committers@FreeBSD.ORG>, <cvs-all@FreeBSD.ORG> Subject: Re: cvs commit: src/sys/dev/streams streams.c Message-ID: <200110290146.f9T1ks130312@apollo.backplane.com> References: <20011028172926.R17964-100000@remote>
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? : I dunno. This is the error: FreeBSD/FreeBSD-current/src/sys/modules/streams/../../dev/streams/streams.c: In function `svr4_delete_socket': /FreeBSD/FreeBSD-current/src/sys/modules/streams/../../dev/streams/streams.c:392: warning: int format, dev_t arg (arg 4) I just cast it to what the printf format arg was already expecting. It's just a debugging printf anyway. -Matt Matthew Dillon <dillon@backplane.com> 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?200110290146.f9T1ks130312>