diff options
author | bde <bde@FreeBSD.org> | 1998-07-06 21:45:12 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-06 21:45:12 +0000 |
commit | 067f8c8dc926fe603627b3942b43d82910de2a5f (patch) | |
tree | d38da32b0ee98fb6d463b9c2f3464dbd31b289d0 /bin/sh/error.h | |
parent | 0609531ab6b945c4918206f095bc1f6640408654 (diff) | |
download | FreeBSD-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 'bin/sh/error.h')
0 files changed, 0 insertions, 0 deletions