From b3168e9da370d45ebe57989d9ef2774b7e791c13 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 26 Sep 2006 21:53:18 +0000 Subject: gcc 4.1.0 portability fixes. --- gold/stringpool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/stringpool.cc') diff --git a/gold/stringpool.cc b/gold/stringpool.cc index 9a709e0..6437d01 100644 --- a/gold/stringpool.cc +++ b/gold/stringpool.cc @@ -31,7 +31,7 @@ Stringpool::Stringpool_hash::operator()(const char* s) const // Fowler/Noll/Vo (FNV) hash (type FNV-1a). if (sizeof(size_t) == 8) { - size_t result = 14695981039346656037ULL; + size_t result = static_cast(14695981039346656037ULL); while (*s != '\0') { result &= (size_t) *s++; -- cgit v1.1