diff options
author | Douglas B Rupp <rupp@adacore.com> | 2024-08-05 13:17:38 -0700 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2025-01-03 16:39:12 +0100 |
commit | 34ace6d7b63d04d26fe7b190764ede70aaa75f32 (patch) | |
tree | 86f2825cfc2de825e162b2e12bebe54dfacec3e0 /gcc/fortran/trans-expr.cc | |
parent | fdf84665158e44c4dc0fdc63b023784a8c091f04 (diff) | |
download | gcc-34ace6d7b63d04d26fe7b190764ede70aaa75f32.zip gcc-34ace6d7b63d04d26fe7b190764ede70aaa75f32.tar.gz gcc-34ace6d7b63d04d26fe7b190764ede70aaa75f32.tar.bz2 |
ada: Incompatible conversion on vxworks in socket.c
In the vxworks section, a conversion between char* and int is
attempted, which results in a warning with gcc. However with clang
with is an error. Note also on 64bit targets, there's a size
mismatch.
gcc/ada/ChangeLog:
* socket.c [__vxworks]: Change vxw_h_addr type to long from
int, and cast the conversion of char* to vxw_h_addr to avoid
warning/error.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions