diff options
author | dim <dim@FreeBSD.org> | 2014-02-20 23:02:42 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-02-20 23:02:42 +0000 |
commit | 2a39777634b76441bb54ced4fe11c74693726349 (patch) | |
tree | f1c40b8ae4d026b0ad45b9d670668f0eb7c03e55 | |
parent | f57ada5ef09c448935fafbc43a7b7bb4618b422f (diff) | |
download | FreeBSD-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().
-rw-r--r-- | lib/libc/sparc64/sys/__sparc_utrap_setup.c | 2 |
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); } |