mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
2003-08-01 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention that m32r is multi-arch. From 2003-07-28 Kei Sakamoto <sakamoto.kei@renesas.com>: * configure.tgt: Recognize m32r-*-*. * config/m32r/tm-m32r.h: Delete file. * config/m32r/m32r.mt: New file. * m32r-rom.c (m32r_upload_command): Use hostent only when gethostname succeeds, in order to avoid a compilation warning. * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a compiler warning.
This commit is contained in:
@@ -286,7 +286,7 @@ m32r_store_return_value (struct type *type, struct regcache *regcache,
|
||||
|
||||
if (len > 4)
|
||||
{
|
||||
regval = extract_unsigned_integer (valbuf + 4, len - 4);
|
||||
regval = extract_unsigned_integer ((char *) valbuf + 4, len - 4);
|
||||
regcache_cooked_write_unsigned (regcache, RET1_REGNUM + 1, regval);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user