aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-spu.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-10-29 18:18:34 +0000
committerNick Clifton <nickc@redhat.com>2006-10-29 18:18:34 +0000
commite2785c4472a06867e3ddbd11a5609d3f1a9e0f32 (patch)
tree45e94dd74d7ea3662209ce8c8a66e7f034e41e28 /gas/config/tc-spu.c
parent4e9862571357457fa20df6fb0650807d5fb5ea94 (diff)
downloadgdb-e2785c4472a06867e3ddbd11a5609d3f1a9e0f32.zip
gdb-e2785c4472a06867e3ddbd11a5609d3f1a9e0f32.tar.gz
gdb-e2785c4472a06867e3ddbd11a5609d3f1a9e0f32.tar.bz2
* config/tc-spu.c (md_assemble): Cast printf string size parameter
to int in order to avoid a compiler warning.
Diffstat (limited to 'gas/config/tc-spu.c')
-rw-r--r--gas/config/tc-spu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-spu.c b/gas/config/tc-spu.c
index 8b4c8f8..681bc20 100644
--- a/gas/config/tc-spu.c
+++ b/gas/config/tc-spu.c
@@ -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 */