diff options
author | Martin Liska <mliska@suse.cz> | 2016-07-19 15:35:43 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-07-19 13:35:43 +0000 |
commit | cc441bd93f4d2ce760ca1f27e80ac7f7f9b203a3 (patch) | |
tree | 5056be418d2be96350bd170877ecc59eff8f5c44 /libcpp | |
parent | 966f8720694d502b0269ad7c37ec696a945c5985 (diff) |
Fix compiling large files
Backported from mainline
2016-03-15 Richard Henderson <rth@redhat.com>
* line-map.c (new_linemap): Make alloc_size a size_t.
From-SVN: r238474
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/line-map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/line-map.c b/libcpp/line-map.c index f9260d00008..340eabac7fc 100644 --- a/libcpp/line-map.c +++ b/libcpp/line-map.c @@ -218,7 +218,7 @@ new_linemap (struct line_maps *set, if (LINEMAPS_USED (set, macro_map_p) == LINEMAPS_ALLOCATED (set, macro_map_p)) { /* We ran out of allocated line maps. Let's allocate more. */ - unsigned alloc_size; + size_t alloc_size; /* Cast away extern "C" from the type of xrealloc. */ line_map_realloc reallocator = (set->reallocator |