aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2005-11-15 14:59:50 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2005-11-15 14:59:50 +0100
commit11bfd18a18bc6e65888662dbc95cbab3049842fa (patch)
tree1b759ec15d50dffc46576e7ebe383d4fdf50a3a4 /gcc
parente49b74a95f356767263affd82aeba70babbb42db (diff)
downloadgcc-11bfd18a18bc6e65888662dbc95cbab3049842fa.zip
gcc-11bfd18a18bc6e65888662dbc95cbab3049842fa.tar.gz
gcc-11bfd18a18bc6e65888662dbc95cbab3049842fa.tar.bz2
g-spitbo.adb: (Hash): Rotate by 3 instead of 1
2005-11-14 Robert Dewar <dewar@adacore.com> * g-spitbo.adb: (Hash): Rotate by 3 instead of 1 From-SVN: r106985
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/g-spitbo.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/g-spitbo.adb b/gcc/ada/g-spitbo.adb
index 7bab3f4..3bceb9c 100644
--- a/gcc/ada/g-spitbo.adb
+++ b/gcc/ada/g-spitbo.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1998-2005 Ada Core Technologies, Inc. --
+-- Copyright (C) 1998-2005, AdaCore --
-- --
-- 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- --
@@ -622,7 +622,7 @@ package body GNAT.Spitbol is
begin
for J in Str'Range loop
- Result := Rotate_Left (Result, 1) +
+ Result := Rotate_Left (Result, 3) +
Unsigned_32 (Character'Pos (Str (J)));
end loop;