* config/tc-spu.c (md_assemble): Cast printf string size parameter
to int in order to avoid a compiler warning.
This commit is contained in:
parent
4e98625713
commit
e2785c4472
@ -1,3 +1,8 @@
|
||||
2006-10-29 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/tc-spu.c (md_assemble): Cast printf string size parameter
|
||||
to int in order to avoid a compiler warning.
|
||||
|
||||
2006-10-27 Andrew Stubbs <andrew.stubbs@st.com>
|
||||
|
||||
* config/tc-sh.c (md_assemble): Define size of branches.
|
||||
|
@ -333,7 +333,7 @@ md_assemble (char *op)
|
||||
const char *d = syntax_error_param;
|
||||
while (*d != '$')
|
||||
d--;
|
||||
as_warn (_("Treating '%-*s' as a symbol."), syntax_error_param - d, d);
|
||||
as_warn (_("Treating '%-*s' as a symbol."), (int)(syntax_error_param - d), d);
|
||||
}
|
||||
|
||||
/* grow the current frag and plop in the opcode */
|
||||
|
Loading…
Reference in New Issue
Block a user