From d17f7d5994e7cb76d9708da59b89f68b78c20de3 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 8 Jul 2015 16:48:11 +0200 Subject: Address -Wsign-compare diagnostics ... which have been introduced in r223152, for example hundreds of: [...]/gcc/input.h:37:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] libcpp/ * include/line-map.h (RESERVED_LOCATION_COUNT): Change type to source_location. From-SVN: r225558 --- libcpp/include/line-map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpp/include') diff --git a/libcpp/include/line-map.h b/libcpp/include/line-map.h index 41551563868..bc747c116bb 100644 --- a/libcpp/include/line-map.h +++ b/libcpp/include/line-map.h @@ -870,7 +870,7 @@ bool linemap_location_from_macro_expansion_p (const struct line_maps *, /* source_location values from 0 to RESERVED_LOCATION_COUNT-1 will be reserved for libcpp user as special values, no token from libcpp will contain any of those locations. */ -const int RESERVED_LOCATION_COUNT = 2; +const source_location RESERVED_LOCATION_COUNT = 2; /* Converts a map and a source_location to source line. */ inline linenum_type -- cgit v1.2.3