aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.h
diff options
context:
space:
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 8ea24d2..520f2e3 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;
}