diff options
Diffstat (limited to 'gcc/ada/stringt.adb')
-rw-r--r-- | gcc/ada/stringt.adb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ada/stringt.adb b/gcc/ada/stringt.adb index 9b2bb57e32f..5f6fd969cba 100644 --- a/gcc/ada/stringt.adb +++ b/gcc/ada/stringt.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2001 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- -- @@ -358,8 +358,12 @@ package body Stringt is procedure Write_Hex_Byte (J : Natural); -- Write single hex digit + -------------------- + -- Write_Hex_Byte -- + -------------------- + procedure Write_Hex_Byte (J : Natural) is - Hexd : String := "0123456789abcdef"; + Hexd : constant String := "0123456789abcdef"; begin Write_Char (Hexd (J / 16 + 1)); |