aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat/g-forstr.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/libgnat/g-forstr.adb')
-rw-r--r--gcc/ada/libgnat/g-forstr.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/libgnat/g-forstr.adb b/gcc/ada/libgnat/g-forstr.adb
index 8ce8d1c..8821de6 100644
--- a/gcc/ada/libgnat/g-forstr.adb
+++ b/gcc/ada/libgnat/g-forstr.adb
@@ -58,7 +58,7 @@ package body GNAT.Formatted_String is
type Sign_Kind is (Neg, Zero, Pos);
- subtype Is_Number is F_Kind range Decimal_Int .. Decimal_Float;
+ subtype Is_Number is F_Kind range Decimal_Int .. Shortest_Decimal_Float_Up;
type F_Sign is (If_Neg, Forced, Space) with Default_Value => If_Neg;