]> sourceware.org Git - libabigail.git/commit
dwarf-reader: templatize read_int_from_array_of_bytes
authormaennich@google.com <maennich@google.com>
Fri, 10 May 2019 01:00:39 +0000 (02:00 +0100)
committerDodji Seketeli <dodji@redhat.com>
Fri, 10 May 2019 05:16:01 +0000 (07:16 +0200)
commit2af69905605430e198a79f60bd84912ff35099ad
treeea57084b13f60ceb5e8bfe7b66aa3667b1031a6b
parent89777e1f2c1d6e5ad6e5dd88dd845754a59a9aa7
dwarf-reader: templatize read_int_from_array_of_bytes

Making the return value type a template type allows for signed types to
be passed and successfully interpreted.

* src/abg-dwarf-reader.cc (read_int_from_array_of_bytes):
templatize return type to allow passing of signed integer references

Signed-off-by: Matthias Maennich <maennich@google.com>
src/abg-dwarf-reader.cc
This page took 0.033097 seconds and 5 git commands to generate.