]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Fix negative numbers formatted with leading zero
authorPascal Obry <obry@adacore.com>
Thu, 16 Sep 2021 14:23:55 +0000 (16:23 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 5 Oct 2021 08:20:04 +0000 (08:20 +0000)
commit657d0d8faf8a9f5d0c221fa011cd66ae815e9a59
treef6aee6ab1e536484da51a300e161c4ba1950b49f
parentb2b2fe2d679dec37e30b86c73fefa9d7e920f4ca
[Ada] Fix negative numbers formatted with leading zero

gcc/ada/

* libgnat/g-forstr.adb (Get_Formatted): Fix computation of the
number of zero to use in the formatted string. This was a wrong
copy/paste.
gcc/ada/libgnat/g-forstr.adb