From: Ian Lance Taylor Date: Sat, 20 Oct 2007 04:35:43 +0000 (+0000) Subject: From Craig Silverstein: add cast to avoid warning. X-Git-Tag: sid-snapshot-20071101~172 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=291eaac6ab9f3096984441c288f827626a1e7b4d;p=platform%2Fupstream%2Fbinutils.git From Craig Silverstein: add cast to avoid warning. --- diff --git a/gold/merge.cc b/gold/merge.cc index 80d2d1a..13bfc17 100644 --- a/gold/merge.cc +++ b/gold/merge.cc @@ -269,7 +269,7 @@ Output_merge_string::do_add_input_section(Relobj* object, { // The length PLEN is in characters, not bytes. ++plen; - if (i + plen * sizeof(Char_type) >= len) + if (i + plen * static_cast(sizeof(Char_type)) >= len) { object->error(_("entry in mergeable string section " "not null terminated"));