aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/floatunsisf.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/floatunsisf.c')
-rw-r--r--soft-fp/floatunsisf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/soft-fp/floatunsisf.c b/soft-fp/floatunsisf.c
index a7f21ca68b..16fbf1dddb 100644
--- a/soft-fp/floatunsisf.c
+++ b/soft-fp/floatunsisf.c
@@ -28,10 +28,10 @@ __floatunsisf(USItype i)
{
FP_DECL_EX;
FP_DECL_S(A);
- float a;
+ SFtype a;
- FP_FROM_INT_S(A, i, 32, int);
- FP_PACK_S(a, A);
+ FP_FROM_INT_S(A, i, SI_BITS, USItype);
+ FP_PACK_RAW_S(a, A);
FP_HANDLE_EXCEPTIONS;
return a;