aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/floatunsitf.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/floatunsitf.c')
-rw-r--r--soft-fp/floatunsitf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/soft-fp/floatunsitf.c b/soft-fp/floatunsitf.c
index efb66e9..afc3b78 100644
--- a/soft-fp/floatunsitf.c
+++ b/soft-fp/floatunsitf.c
@@ -23,15 +23,15 @@
#include "soft-fp.h"
#include "quad.h"
-long double
+TFtype
__floatunsitf(USItype i)
{
FP_DECL_EX;
FP_DECL_Q(A);
- long double a;
+ TFtype a;
- FP_FROM_INT_Q(A, i, 32, int);
- FP_PACK_Q(a, A);
+ FP_FROM_INT_Q(A, i, SI_BITS, USItype);
+ FP_PACK_RAW_Q(a, A);
FP_HANDLE_EXCEPTIONS;
return a;