summaryrefslogtreecommitdiffstats
path: root/gcc/ada/s-widcha.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-widcha.adb')
-rw-r--r--gcc/ada/s-widcha.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/s-widcha.adb b/gcc/ada/s-widcha.adb
index 21e65512541..5c407901385 100644
--- a/gcc/ada/s-widcha.adb
+++ b/gcc/ada/s-widcha.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.Wid_Char is
for C in Lo .. Hi loop
declare
- S : String := Character'Image (C);
+ S : constant String := Character'Image (C);
begin
W := Natural'Max (W, S'Length);
OpenPOWER on IntegriCloud