projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix compile time warnings generated when compiling with clang.
[deliverable/binutils-gdb.git]
/
opcodes
/
bfin-dis.c
diff --git
a/opcodes/bfin-dis.c
b/opcodes/bfin-dis.c
index bf2052e3ed137041864aea75a6e2c9ea5d56835e..54fac225341417c212c10cf7e80d84745458de1c 100644
(file)
--- a/
opcodes/bfin-dis.c
+++ b/
opcodes/bfin-dis.c
@@
-167,7
+167,7
@@
fmtconst (const_forms_t cf, TIword x, bfd_vma pc, disassemble_info *outf)
else
{
if (constant_formats[cf].issigned && x < 0)
- sprintf (buf, "-0x%
x", abs (
x));
+ sprintf (buf, "-0x%
lx", (unsigned long)(-
x));
else
sprintf (buf, "0x%lx", (unsigned long) x);
}
This page took
0.04463 seconds
and
4
git commands to generate.