From 2a39777634b76441bb54ced4fe11c74693726349 Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 20 Feb 2014 23:02:42 +0000 Subject: [PATCH] In lib/libc/sparc64/sys/__sparc_utrap_setup.c, avoid an error about passing a pointer to a const object to sysarch(). --- lib/libc/sparc64/sys/__sparc_utrap_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/sparc64/sys/__sparc_utrap_setup.c b/lib/libc/sparc64/sys/__sparc_utrap_setup.c index f4a624bfe4c7..2524f44b8031 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); }