diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2016-06-22 01:46:06 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2016-06-22 01:46:06 +0000 |
commit | fe55692cb3180b06967d45849664cc6a483756ea (patch) | |
tree | 7227251b43d09a6272f8ac01241575b8d81fba52 /libcpp/line-map.c | |
parent | d008cb31fdde77a1cfe8e4dd74411851322b89af (diff) | |
download | gcc-fe55692cb3180b06967d45849664cc6a483756ea.zip gcc-fe55692cb3180b06967d45849664cc6a483756ea.tar.gz gcc-fe55692cb3180b06967d45849664cc6a483756ea.tar.bz2 |
c-common.c (get_source_date_epoch): Use int64_t instead of long long.
* c-common.c (get_source_date_epoch): Use int64_t instead of long long.
* gcov-tool.c (profile_rewrite): Use int64_t instead of long long.
(do_rewrite): likewise.
* line-map.c (location_adhoc_data_update): Use int64_t instead of
long long.
(get_combined_adhoc_loc): Likewise.
From-SVN: r237676
Diffstat (limited to 'libcpp/line-map.c')
-rw-r--r-- | libcpp/line-map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpp/line-map.c b/libcpp/line-map.c index 2e61895..8dea0d3 100644 --- a/libcpp/line-map.c +++ b/libcpp/line-map.c @@ -102,7 +102,7 @@ location_adhoc_data_eq (const void *l1, const void *l2) static int location_adhoc_data_update (void **slot, void *data) { - *((char **) slot) += *((long long *) data); + *((char **) slot) += *((int64_t *) data); return 1; } @@ -224,7 +224,7 @@ get_combined_adhoc_loc (struct line_maps *set, set->location_adhoc_data_map.allocated) { char *orig_data = (char *) set->location_adhoc_data_map.data; - long long offset; + int64_t offset; /* Cast away extern "C" from the type of xrealloc. */ line_map_realloc reallocator = (set->reallocator ? set->reallocator |