Commit a1f4d389 authored by Keith M. Wesolowski's avatar Keith M. Wesolowski

[SPARC32]: Fix cast-as-lvalue

parent a83b9c3b
...@@ -1128,9 +1128,9 @@ do_sys_sigstack(struct sigstack __user *ssptr, struct sigstack __user *ossptr, ...@@ -1128,9 +1128,9 @@ do_sys_sigstack(struct sigstack __user *ssptr, struct sigstack __user *ossptr,
/* Now see if we want to update the new state. */ /* Now see if we want to update the new state. */
if (ssptr) { if (ssptr) {
void *ss_sp; char *ss_sp;
if (get_user((long)ss_sp, &ssptr->the_stack)) if (get_user(ss_sp, &ssptr->the_stack))
goto out; goto out;
/* If the current stack was set with sigaltstack, don't /* If the current stack was set with sigaltstack, don't
swap stacks while we are on it. */ swap stacks while we are on it. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment