In lib/libc/sparc64/sys/__sparc_utrap_setup.c, avoid an error about

passing a pointer to a const object to sysarch().
This commit is contained in:
dim 2014-02-20 23:02:42 +00:00
parent f57ada5ef0
commit 2a39777634

View File

@ -54,5 +54,5 @@ void
__sparc_utrap_setup(void)
{
sysarch(SPARC_UTRAP_INSTALL, &uia);
sysarch(SPARC_UTRAP_INSTALL, (void *)&uia);
}