diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-25 12:26:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-25 12:26:08 +0000 |
commit | 855e18e540b2973634c70dc2a90e306b1567b49c (patch) | |
tree | 738798fd35c587177e42ddac9f6814baf7e689a8 /misc/buildroot/toolchain/nxflat/ldnxflat.c | |
parent | 181ef62460c09a8823bf250fb8f7eb618e627f55 (diff) | |
download | px4-nuttx-855e18e540b2973634c70dc2a90e306b1567b49c.tar.gz px4-nuttx-855e18e540b2973634c70dc2a90e306b1567b49c.tar.bz2 px4-nuttx-855e18e540b2973634c70dc2a90e306b1567b49c.zip |
Fix to handle case of more than 4 arguments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1945 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot/toolchain/nxflat/ldnxflat.c')
-rw-r--r-- | misc/buildroot/toolchain/nxflat/ldnxflat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/buildroot/toolchain/nxflat/ldnxflat.c b/misc/buildroot/toolchain/nxflat/ldnxflat.c index 018a2ac18..e600e4a94 100644 --- a/misc/buildroot/toolchain/nxflat/ldnxflat.c +++ b/misc/buildroot/toolchain/nxflat/ldnxflat.c @@ -960,7 +960,7 @@ resolve_segment_relocs(bfd *input_bfd, segment_info *inf, asymbol **syms) exit(1); } - vdbg(" Modified opcode: %08lx\n", temp); + vdbg(" Modified opcode: %08lx\n", (long)temp); #ifdef ARCH_BIG_ENDIAN *target = (long)nxflat_swap32(temp); #else @@ -1028,7 +1028,7 @@ resolve_segment_relocs(bfd *input_bfd, segment_info *inf, asymbol **syms) temp |= saved & (~how_to->dst_mask); - vdbg(" Modified opcode: %08lx\n", temp); + vdbg(" Modified opcode: %08lx\n", (long)temp); #ifdef ARCH_BIG_ENDIAN *target = (long)nxflat_swap32(temp); #else |