diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-02-02 01:26:34 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-02-07 13:30:26 +0000 |
commit | 5665a0ac59a656b94cbf3c4642b32024a6c1cf75 (patch) | |
tree | ded491db3767bbe3d9b3de3ff88d60b9a20ab3ca /arch/mips/kernel/signal32.c | |
parent | 1e32ceeca25ea30cabce137fac7e2f58fe8847db (diff) |
[MIPS] Fix minor sparse warnings
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/signal32.c')
-rw-r--r-- | arch/mips/kernel/signal32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c index 7c2241e4d779..136260c8f756 100644 --- a/arch/mips/kernel/signal32.c +++ b/arch/mips/kernel/signal32.c @@ -456,7 +456,7 @@ int copy_siginfo_to_user32(compat_siginfo_t __user *to, siginfo_t *from) err |= __put_user(from->si_uid, &to->si_uid); break; case __SI_FAULT >> 16: - err |= __put_user((long)from->si_addr, &to->si_addr); + err |= __put_user((unsigned long)from->si_addr, &to->si_addr); break; case __SI_POLL >> 16: err |= __put_user(from->si_band, &to->si_band); |