[Ada] Address warning compiling terminals.c
authorArnaud Charlet <charlet@adacore.com>
Wed, 11 Nov 2020 16:31:27 +0000 (11:31 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 30 Nov 2020 14:16:18 +0000 (09:16 -0500)
commit336aa630a0c219e947afeea6844e09dfe17957e5
treed5bcfe7a134187fc63a5c4c2f1a660dbb7a789f7
parenta09afbd1c6f17b150a8d4ce26cd65f390d056035
[Ada] Address warning compiling terminals.c

gcc/ada/

* terminals.c (allocate_pty_desc): Copy one less byte since the
last byte will always be set to 0.
gcc/ada/terminals.c