line-map.c (location_adhoc_data_update): Perform addition in uintptr_t type rather...
authorJakub Jelinek <jakub@redhat.com>
Wed, 21 Jun 2017 10:59:12 +0000 (12:59 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 21 Jun 2017 10:59:12 +0000 (12:59 +0200)
commit6d522731379693a5107328079b804ecd2fbd4766
treecf6543870e2daf6ed7988acd197536ef1d848eb1
parentd54d1fc3bcd2d3dda563f9bd95b60299bc892041
line-map.c (location_adhoc_data_update): Perform addition in uintptr_t type rather than char * type.

* line-map.c (location_adhoc_data_update): Perform addition in
uintptr_t type rather than char * type.  Read *data using
ptrdiff_t type instead of int64_t.
(get_combined_adhoc_loc): Change offset type to ptrdiff_t from
int64_t.

From-SVN: r249446
libcpp/ChangeLog
libcpp/line-map.c