diff options
Diffstat (limited to 'gcc/ada/s-wwdwch.adb')
-rw-r--r-- | gcc/ada/s-wwdwch.adb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/s-wwdwch.adb b/gcc/ada/s-wwdwch.adb index b794cd5e68b..eb9d2fb6ac4 100644 --- a/gcc/ada/s-wwdwch.adb +++ b/gcc/ada/s-wwdwch.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2000, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2002, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -61,7 +61,8 @@ package body System.Wwd_WChar is else declare - S : Wide_String := Character'Wide_Image (Character'Val (P)); + S : constant Wide_String := + Character'Wide_Image (Character'Val (P)); begin W := Natural'Max (W, S'Length); |