diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-02-27 16:42:17 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-02-27 16:45:34 +0000 |
commit | 3104d9ee223133b9f5be4ec96b3f986e4fbc893e (patch) | |
tree | b594823bfbc8c77dfe345d5455fa3b9dd03e3cb2 /intl/hash-string.h | |
parent | 736990c44277615e47d5dfab523c70488911624d (diff) | |
download | binutils-3104d9ee223133b9f5be4ec96b3f986e4fbc893e.zip binutils-3104d9ee223133b9f5be4ec96b3f986e4fbc893e.tar.gz binutils-3104d9ee223133b9f5be4ec96b3f986e4fbc893e.tar.bz2 |
gdb: Use std::abs instead of abs on LONGEST types
Use std::abs so that we get the C++ overloaded version that matches
the argument type instead of the C abs function which is only for int
arguments.
There should be no user visible change after this commit.
gdb/ChangeLog:
* gdbtypes.c (create_array_type_with_stride): Use std::abs not
abs.
Diffstat (limited to 'intl/hash-string.h')
0 files changed, 0 insertions, 0 deletions