From 64567cfd1dbd592f00b724c67bdee86915d4c046 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 15 Mar 2016 16:08:45 -0700 Subject: Fix compiling large files * line-map.c (new_linemap): Make alloc_size a size_t. From-SVN: r234239 --- libcpp/line-map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpp/line-map.c') diff --git a/libcpp/line-map.c b/libcpp/line-map.c index 1fb634a..80d4e6b 100644 --- a/libcpp/line-map.c +++ b/libcpp/line-map.c @@ -376,7 +376,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 -- cgit v1.1