about summary refs log tree commit diff
path: root/soft-fp/floatundisf.c
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp/floatundisf.c')
-rw-r--r--soft-fp/floatundisf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/soft-fp/floatundisf.c b/soft-fp/floatundisf.c
index 68aa90fbf7..a2437e4071 100644
--- a/soft-fp/floatundisf.c
+++ b/soft-fp/floatundisf.c
@@ -28,10 +28,10 @@ __floatundisf(UDItype i)
 {
   FP_DECL_EX;
   FP_DECL_S(A);
-  float a;
+  SFtype a;
 
-  FP_FROM_INT_S(A, i, 64, long long);
-  FP_PACK_S(a, A);
+  FP_FROM_INT_S(A, i, DI_BITS, UDItype);
+  FP_PACK_RAW_S(a, A);
   FP_HANDLE_EXCEPTIONS;
 
   return a;