summaryrefslogtreecommitdiff
path: root/gcc/ada/g-crc32.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/g-crc32.adb')
-rw-r--r--gcc/ada/g-crc32.adb5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/g-crc32.adb b/gcc/ada/g-crc32.adb
index 255e2f4ae82..18ae76dc0b4 100644
--- a/gcc/ada/g-crc32.adb
+++ b/gcc/ada/g-crc32.adb
@@ -6,8 +6,7 @@
-- --
-- B o d y --
-- --
--- --
--- Copyright (C) 2001 Ada Core Technologies, Inc. --
+-- Copyright (C) 2001-2002 Ada Core Technologies, 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- --
@@ -74,7 +73,7 @@ package body GNAT.CRC32 is
subtype S2 is String (1 .. 2);
function To_S2 is new Unchecked_Conversion (Wide_Character, S2);
- VS : S2 := To_S2 (Value);
+ VS : constant S2 := To_S2 (Value);
begin
Update (C, VS (1));