summaryrefslogtreecommitdiff
path: root/gcc/ada/s-wwdcha.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-wwdcha.adb')
-rw-r--r--gcc/ada/s-wwdcha.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/s-wwdcha.adb b/gcc/ada/s-wwdcha.adb
index e756b9d3610..18928fdf848 100644
--- a/gcc/ada/s-wwdcha.adb
+++ b/gcc/ada/s-wwdcha.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992,1993,1994 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- --
@@ -45,7 +45,7 @@ package body System.WWd_Char is
for C in Lo .. Hi loop
declare
- S : Wide_String := Character'Wide_Image (C);
+ S : constant Wide_String := Character'Wide_Image (C);
begin
W := Natural'Max (W, S'Length);