diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-09-28 19:47:44 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-09-28 19:47:44 -0400 |
commit | 8c12140439effb70a6c05c58846aeaef91d44350 (patch) | |
tree | 2bf044443fe7bd105267e1bfc945d0be2dde29ab /gdb/d-lang.h | |
parent | 4872f9a1b553445165dc49eaa091ca8400c130a0 (diff) | |
download | binutils-8c12140439effb70a6c05c58846aeaef91d44350.zip binutils-8c12140439effb70a6c05c58846aeaef91d44350.tar.gz binutils-8c12140439effb70a6c05c58846aeaef91d44350.tar.bz2 |
gdb: fix darwin-nat build
There are two errors of this kind:
CXX darwin-nat.o
/Users/smarchi/src/binutils-gdb/gdb/darwin-nat.c:1175:19: error: format specifies type 'unsigned long' but the argument has type 'ULONGEST' (aka 'unsigned long long') [-Werror,-Wformat]
ptid.pid (), ptid.tid ());
^~~~~~~~~~~
Fix them by using ptid_t's to_string method.
Change-Id: I52087d5f7ee0fc01ac8b3f87d4db0217cb0d7cc7
Diffstat (limited to 'gdb/d-lang.h')
0 files changed, 0 insertions, 0 deletions