projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f389a82
)
From Craig Silverstein: add cast to avoid warning.
author
Ian Lance Taylor
<iant@google.com>
Sat, 20 Oct 2007 04:35:43 +0000
(
04:35
+0000)
committer
Ian Lance Taylor
<iant@google.com>
Sat, 20 Oct 2007 04:35:43 +0000
(
04:35
+0000)
gold/merge.cc
patch
|
blob
|
history
diff --git
a/gold/merge.cc
b/gold/merge.cc
index
80d2d1a
..
13bfc17
100644
(file)
--- a/
gold/merge.cc
+++ b/
gold/merge.cc
@@
-269,7
+269,7
@@
Output_merge_string<Char_type>::do_add_input_section(Relobj* object,
{
// The length PLEN is in characters, not bytes.
++plen;
- if (i + plen * s
izeof(Char_type
) >= len)
+ if (i + plen * s
tatic_cast<off_t>(sizeof(Char_type)
) >= len)
{
object->error(_("entry in mergeable string section "
"not null terminated"));