summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/sp_flong.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/math-emu/sp_flong.c')
-rw-r--r--arch/mips/math-emu/sp_flong.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/math-emu/sp_flong.c b/arch/mips/math-emu/sp_flong.c
index 16a651f29865..c457a9f8a148 100644
--- a/arch/mips/math-emu/sp_flong.c
+++ b/arch/mips/math-emu/sp_flong.c
@@ -26,7 +26,7 @@
#include "ieee754sp.h"
-ieee754sp ieee754sp_flong(s64 x)
+union ieee754sp ieee754sp_flong(s64 x)
{
u64 xm; /* <--- need 64-bit mantissa temp */
int xe;
@@ -69,7 +69,7 @@ ieee754sp ieee754sp_flong(s64 x)
}
-ieee754sp ieee754sp_fulong(u64 u)
+union ieee754sp ieee754sp_fulong(u64 u)
{
if ((s64) u < 0)
return ieee754sp_add(ieee754sp_1e63(),