diff options
author | Robert Dewar <dewar@adacore.com> | 2008-04-08 08:57:39 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2008-04-08 08:57:39 +0200 |
commit | efde9617b15c8eb477c52111c660e35e45a59785 (patch) | |
tree | 6cffd6610375b23eb865fd9a5ef43bdbfbf75654 /gcc/ada/i-cstrin.adb | |
parent | 2fe53bf5a4927ae72baa9160627bdecb6d2fcdfb (diff) | |
download | gcc-efde9617b15c8eb477c52111c660e35e45a59785.tar.gz |
impunit.adb: Add Interfaces.Java.JNI...
2008-04-08 Robert Dewar <dewar@adacore.com>
Bob Duff <duff@adacore.com>
* impunit.adb: Add Interfaces.Java.JNI, System.Strings.Stream_Ops,
Ada.Calendar.Conversions, Ada.Dispatching.EDF, GNAT.Time_Stamp
* s-intman-mingw.adb: Minor comment fix -- spell 'explicitly' correctly
* g-trasym.adb: Minor comment fix -- spell 'explicitly' correctly
* g-trasym.ads: Minor comment improvements
* s-stalib.adb: Minor comment fix -- spell 'explicitly' correctly
* a-sequio.ads, a-direio.ads: improve message for tagged type
* a-strunb.ads: Minor reformatting
* a-tifiio.adb: Minor reformatting
* atree.adb (Fix_Parents): Use clearer names for formals
Cleanup and simplify code
Use named notation in calls
* exp_fixd.adb (Do_Multiply_Fixed_Universal): Use named notation in
confusing calls
* uintp.adb: Used named notation for some confusing calls
* bindusg.adb: Minor change in one line of output
* cstand.adb: Minor reformatting of src representation of Standard
* a-assert.ads: Add comment.
* g-decstr.adb: Fix bad indentation
* expander.ads, expander.adb: Code clean up.
* sem_dist.ads, sem_type.adb, g-dirope.ads, g-exctra.ads, s-valwch.adb,
s-wchstw.adb, targparm.ads, widechar.adb: Minor reformatting
* i-cstrin.adb: Fix casing error in formal parameter name in call
From-SVN: r134063
Diffstat (limited to 'gcc/ada/i-cstrin.adb')
-rw-r--r-- | gcc/ada/i-cstrin.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/i-cstrin.adb b/gcc/ada/i-cstrin.adb index c7ec0ceb62f..dbd4cb4c207 100644 --- a/gcc/ada/i-cstrin.adb +++ b/gcc/ada/i-cstrin.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2007, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2008, 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- -- @@ -130,7 +130,7 @@ package body Interfaces.C.Strings is Offset => 0, Chars => Chars, Check => False); - Poke (nul, into => Pointer + size_t'(Chars'Length)); + Poke (nul, Into => Pointer + size_t'(Chars'Length)); end if; return Pointer; |