diff options
author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2010-09-08 20:08:14 +0000 |
---|---|---|
committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2010-09-08 20:08:14 +0000 |
commit | 33dbc70199dfdc441e7f8d5f4c3d8a732e59a640 (patch) | |
tree | 4977887f71578a81091a6970536ab815d33c09f1 /gold/script.cc | |
parent | 824308520bc62a9a5f72d89c7c821183e34f39f6 (diff) | |
download | fsf-binutils-gdb-33dbc70199dfdc441e7f8d5f4c3d8a732e59a640.zip fsf-binutils-gdb-33dbc70199dfdc441e7f8d5f4c3d8a732e59a640.tar.gz fsf-binutils-gdb-33dbc70199dfdc441e7f8d5f4c3d8a732e59a640.tar.bz2 |
2010-09-08 Rafael Espindola <espindola@google.com>
* script-sections.cc (Script_sections::add_memory_region): Convert
field precision to int.
* script.cc (script_set_section_region, script_set_section_region):
Convert field precision to int.
Diffstat (limited to 'gold/script.cc')
-rw-r--r-- | gold/script.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/script.cc b/gold/script.cc index 300b19b..b92f85c 100644 --- a/gold/script.cc +++ b/gold/script.cc @@ -3231,7 +3231,7 @@ script_set_section_region(void* closurev, const char* name, size_t namelen, gold_error(_("%s:%d:%d: MEMORY region '%.*s' referred to outside of " "SECTIONS clause"), closure->filename(), closure->lineno(), closure->charpos(), - namelen, name); + static_cast<int>(namelen), name); return; } @@ -3241,7 +3241,7 @@ script_set_section_region(void* closurev, const char* name, size_t namelen, { gold_error(_("%s:%d:%d: MEMORY region '%.*s' not declared"), closure->filename(), closure->lineno(), closure->charpos(), - namelen, name); + static_cast<int>(namelen), name); return; } |