diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-19 01:18:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-19 01:18:41 +0000 |
commit | 9bb53bf8b866ee59d66c14250aee4bfaed0604ca (patch) | |
tree | 5496c714e81590be1135c589ad74a784d99eb457 /gold/gold.h | |
parent | c0873094f582f8dffda7eaea2ea21bd87f351570 (diff) | |
download | gdb-9bb53bf8b866ee59d66c14250aee4bfaed0604ca.zip gdb-9bb53bf8b866ee59d66c14250aee4bfaed0604ca.tar.gz gdb-9bb53bf8b866ee59d66c14250aee4bfaed0604ca.tar.bz2 |
Avoid some warnings which showed up in 64-bit mode.
Diffstat (limited to 'gold/gold.h')
-rw-r--r-- | gold/gold.h | 2 |
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; } |