diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2024-01-24 13:11:46 +0000 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2024-01-24 13:11:46 +0000 |
commit | 3de031c96f28f19a68ea2080260d8fd2c78828ee (patch) | |
tree | 1d3fbf5b0c956bd6ca6d915170b5d0dc03eb256f /gcc/cgraph.cc | |
parent | b8f54195edbecd7151095f137f9ff27e1ddc8e36 (diff) | |
download | gcc-3de031c96f28f19a68ea2080260d8fd2c78828ee.zip gcc-3de031c96f28f19a68ea2080260d8fd2c78828ee.tar.gz gcc-3de031c96f28f19a68ea2080260d8fd2c78828ee.tar.bz2 |
PR modula2/113559 FIO.mod lseek requires cssize_t rather than longint
This patch fixes a bug in gcc/m2/gm2-libs/FIO.mod which failed to cast the
whence parameter into the correct type. The patch casts the whence
parameter for lseek to SYSTEM.CSSIZE_T.
gcc/m2/ChangeLog:
PR modula2/113559
* gm2-libs/FIO.mod (SetPositionFromBeginning): Convert pos into
CSSIZE_T during call to lseek.
(SetPositionFromEnd): Convert pos into CSSIZE_T during call to
lseek.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/cgraph.cc')
0 files changed, 0 insertions, 0 deletions