aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/floatunsidf.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/floatunsidf.c')
-rw-r--r--soft-fp/floatunsidf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/soft-fp/floatunsidf.c b/soft-fp/floatunsidf.c
index 2649adc..b43ed35 100644
--- a/soft-fp/floatunsidf.c
+++ b/soft-fp/floatunsidf.c
@@ -28,10 +28,10 @@ __floatunsidf(USItype i)
{
FP_DECL_EX;
FP_DECL_D(A);
- double a;
+ DFtype a;
- FP_FROM_INT_D(A, i, 32, int);
- FP_PACK_D(a, A);
+ FP_FROM_INT_D(A, i, SI_BITS, USItype);
+ FP_PACK_RAW_D(a, A);
FP_HANDLE_EXCEPTIONS;
return a;