]> git.neil.brown.name Git - history.git/commitdiff
[SPARC32]: Fix cast-as-lvalue
authorKeith M. Wesolowski <wesolows@foobazco.org>
Tue, 30 Mar 2004 14:02:59 +0000 (06:02 -0800)
committerKeith M. Wesolowski <wesolows@foobazco.org>
Tue, 30 Mar 2004 14:02:59 +0000 (06:02 -0800)
arch/sparc/kernel/signal.c

index a4ff14653c5a3eb3cd3b589a4214012f0e715497..4bc6d4bc4a2b7dcceeabf309f4b61e7f7f65b231 100644 (file)
@@ -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. */
        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;
                /* If the current stack was set with sigaltstack, don't
                   swap stacks while we are on it.  */