aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-02-28 11:04:33 +1030
committerAlan Modra <amodra@gmail.com>2023-02-28 11:06:41 +1030
commit26c294bd1b8d95b421487294863eb1560b65580d (patch)
tree7ebe5f9bd74287b9fe0be56f6de06af9c7af503b /gas/ChangeLog
parentld: Sort section contributions in PDB files (diff)
downloadbinutils-gdb-26c294bd1b8d95b421487294863eb1560b65580d.tar.gz
binutils-gdb-26c294bd1b8d95b421487294863eb1560b65580d.tar.bz2
binutils-gdb-26c294bd1b8d95b421487294863eb1560b65580d.zip
chew.c printf of intptr_t
Seen when building binutils with gcc -m32 on x86_64-linux. chew.c: In function ‘print’: chew.c:1434:59: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘intptr_t’ {aka ‘int’} [-Wformat=] 1434 | fprintf (stderr, "print: illegal print destination `%ld'\n", *isp); | ~~^ ~~~~ | | | | | intptr_t {aka int} | long int | %d * chew.c: Include inttypes.h. (print): Use PRIdPTR for *isp.
Diffstat (limited to 'gas/ChangeLog')
0 files changed, 0 insertions, 0 deletions