From c690cbaa492b7b185d0648f332d371b4ee38f3d2 Mon Sep 17 00:00:00 2001 From: Roel Kluin <12o3l@tiscali.nl> Date: Fri, 9 May 2008 20:05:10 +0900 Subject: [PATCH] --- yaml --- r: 96299 b: refs/heads/master c: 9731e287e08b804592191d8bffaad023154af2aa h: refs/heads/master i: 96297: c5f6d3b2214900170f2e52b3aa6da9b4a1c98690 96295: 328e2f009b1af2df9bebd6379ab3905bdcfdf9bd v: v3 --- [refs] | 2 +- trunk/arch/sh/kernel/cpu/sh2a/fpu.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index fa0a86a788b4..f5a58586ef27 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cdf7da899d840d47e075ff3bd761290653c68b77 +refs/heads/master: 9731e287e08b804592191d8bffaad023154af2aa diff --git a/trunk/arch/sh/kernel/cpu/sh2a/fpu.c b/trunk/arch/sh/kernel/cpu/sh2a/fpu.c index 5627c0b3ffa8..6df2fb98eb30 100644 --- a/trunk/arch/sh/kernel/cpu/sh2a/fpu.c +++ b/trunk/arch/sh/kernel/cpu/sh2a/fpu.c @@ -300,7 +300,7 @@ static int denormal_addf(int hx, int hy) iy = hy & 0x7fffffff; if (iy < 0x00800000) { ix = denormal_subf1(ix, iy); - if (ix < 0) { + if ((int) ix < 0) { ix = -ix; sign ^= 0x80000000; } @@ -385,7 +385,7 @@ static long long denormal_addd(long long hx, long long hy) iy = hy & 0x7fffffffffffffffLL; if (iy < 0x0010000000000000LL) { ix = denormal_subd1(ix, iy); - if (ix < 0) { + if ((int) ix < 0) { ix = -ix; sign ^= 0x8000000000000000LL; }