Date: Fri, 28 Jul 2000 15:17:43 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_generic.c Message-ID: <200007282217.PAA57653@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2000/07/28 15:17:43 PDT
Modified files:
sys/kern sys_generic.c
Log:
Fix a warning that has been annoying me for some time:
"kern/sys_generic.c:358: warning: cast discards qualifiers from pointer
target type"
The idea for using the uintptr_t intermediate cast for de-constifying
a pointer was hinted at by bde some time ago.
Revision Changes Path
1.63 +2 -2 src/sys/kern/sys_generic.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?200007282217.PAA57653>
