* config/tc-m68k.c (md_assemble): Don't use sizeof host short.

This commit is contained in:
Alan Modra
2005-03-01 01:57:39 +00:00
parent a67a7b8bf5
commit 055d1eb0f8
2 changed files with 2 additions and 1 deletions

@ -23,6 +23,7 @@
* config/tc-i960.c (md_number_to_field): Warning fix.
(md_ri_to_chars): Use host byte order.
(get_cdisp, md_apply_fix3): Warning fix.
* config/tc-m68k.c (md_assemble): Don't use sizeof host short.
2005-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>

@ -4067,7 +4067,7 @@ md_assemble (char *str)
shorts_this_frag = 0;
if (n)
{
toP = frag_more (n * sizeof (short));
toP = frag_more (n * 2);
while (n--)
{
md_number_to_chars (toP, (long) (*fromP), 2);