summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-02-20 23:02:42 +0000
committerdim <dim@FreeBSD.org>2014-02-20 23:02:42 +0000
commit2a39777634b76441bb54ced4fe11c74693726349 (patch)
treef1c40b8ae4d026b0ad45b9d670668f0eb7c03e55 /lib
parentf57ada5ef09c448935fafbc43a7b7bb4618b422f (diff)
downloadFreeBSD-src-2a39777634b76441bb54ced4fe11c74693726349.zip
FreeBSD-src-2a39777634b76441bb54ced4fe11c74693726349.tar.gz
In lib/libc/sparc64/sys/__sparc_utrap_setup.c, avoid an error about
passing a pointer to a const object to sysarch().
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sparc64/sys/__sparc_utrap_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sparc64/sys/__sparc_utrap_setup.c b/lib/libc/sparc64/sys/__sparc_utrap_setup.c
index f4a624b..2524f44 100644
--- a/lib/libc/sparc64/sys/__sparc_utrap_setup.c
+++ b/lib/libc/sparc64/sys/__sparc_utrap_setup.c
@@ -54,5 +54,5 @@ void
__sparc_utrap_setup(void)
{
- sysarch(SPARC_UTRAP_INSTALL, &uia);
+ sysarch(SPARC_UTRAP_INSTALL, (void *)&uia);
}
OpenPOWER on IntegriCloud