diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-12-18 17:50:33 -0600 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-12-19 13:11:29 -0600 |
commit | 1cd4a20a27c430fdd0db8d5b154e9c7860e440f5 (patch) | |
tree | dc8cb1f8edef2e647ec59aa96deae03532b34747 /opcodes/ia64-opc-b.c | |
parent | aa989b27d0bad451455416953c0e5026e229863a (diff) | |
download | gdb-1cd4a20a27c430fdd0db8d5b154e9c7860e440f5.zip gdb-1cd4a20a27c430fdd0db8d5b154e9c7860e440f5.tar.gz gdb-1cd4a20a27c430fdd0db8d5b154e9c7860e440f5.tar.bz2 |
Cast the log10 argument to double to disambiguate it
On Solaris 11 with gcc 5.5.0 (gcc211 on the compile farm), math.h has a
using std::log10; directive. This is unfortunate because std::log10 has
overloads for float/double/long double. To disambiguate this call,
cast the argument to double to fix the build.
gdb/ChangeLog:
2019-12-19 Christian Biesinger <cbiesinger@google.com>
* tui/tui-source.c (tui_source_window::set_contents): Cast argument of
log10 to double to fix Solaris 11 with gcc 5.5.
Change-Id: I6c0c52e9c172b529c899a435d430e5916aeef69f
Diffstat (limited to 'opcodes/ia64-opc-b.c')
0 files changed, 0 insertions, 0 deletions