diff options
author | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-08 14:48:11 +0000 |
---|---|---|
committer | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-08 14:48:11 +0000 |
commit | a5ea4da319fa2c7e9dd28e86bb69637a82e8e551 (patch) | |
tree | 3534c38349b565f3a04ce7eeb047ec1bf086ead6 /libcpp/include | |
parent | e93a6f3001d1cda3f255a7c7c7ae6645934f0202 (diff) | |
download | gcc-a5ea4da319fa2c7e9dd28e86bb69637a82e8e551.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225558 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/include')
-rw-r--r-- | libcpp/include/line-map.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |