summaryrefslogtreecommitdiff
path: root/gold/gold.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-12-19 01:18:41 +0000
committerIan Lance Taylor <iant@google.com>2007-12-19 01:18:41 +0000
commit9bb53bf8b866ee59d66c14250aee4bfaed0604ca (patch)
tree5496c714e81590be1135c589ad74a784d99eb457 /gold/gold.h
parentc0873094f582f8dffda7eaea2ea21bd87f351570 (diff)
Avoid some warnings which showed up in 64-bit mode.
Diffstat (limited to 'gold/gold.h')
-rw-r--r--gold/gold.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/gold.h b/gold/gold.h
index 8ea24d27dc..520f2e3c16 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -264,7 +264,7 @@ inline To
convert_types(const From from)
{
To to = from;
- gold_assert(to == from);
+ gold_assert(static_cast<From>(to) == from);
return to;
}