From 9bb53bf8b866ee59d66c14250aee4bfaed0604ca Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 19 Dec 2007 01:18:41 +0000 Subject: Avoid some warnings which showed up in 64-bit mode. --- gold/fileread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/fileread.cc') diff --git a/gold/fileread.cc b/gold/fileread.cc index 338a943..3050154 100644 --- a/gold/fileread.cc +++ b/gold/fileread.cc @@ -291,7 +291,7 @@ File_read::find_or_make_view(off_t start, section_size_type size, bool cache) if (poff + psize >= this->size_) { psize = this->size_ - poff; - gold_assert(psize >= size); + gold_assert(psize >= static_cast(size)); } File_read::View* v; -- cgit v1.1