summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-06 21:45:12 +0000
committerbde <bde@FreeBSD.org>1998-07-06 21:45:12 +0000
commit067f8c8dc926fe603627b3942b43d82910de2a5f (patch)
treed38da32b0ee98fb6d463b9c2f3464dbd31b289d0 /tools
parent0609531ab6b945c4918206f095bc1f6640408654 (diff)
downloadFreeBSD-src-067f8c8dc926fe603627b3942b43d82910de2a5f.zip
FreeBSD-src-067f8c8dc926fe603627b3942b43d82910de2a5f.tar.gz
Fixed classic sign extension bug `-(long)sizeof(foo)'.
Fixed the type of the string table size variable to match its use (assuming that int32_t is 4 bytes and other unportable things). bfd uses `unsigned char string_chars[BYTES_IN_WORD]', where BYTES_IN_WORD can be 4, 8, or perhaps even 2 or 3, but it is assumed to be precisely 4 bytes here. Fixed printf format errors (don't assume that n_value in struct n_list has type u_long, since it should have size BYTES_IN_WORD and longs may be longer than words).
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud