diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-12-15 13:53:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-12-15 13:53:40 +0000 |
commit | c1c7970e6de825e7dc39a8cfa0432ad115c64afa (patch) | |
tree | 9d263dea122f17802f0688a3eb1d81a49f4f17c4 /lib/libsectok/ifdhandler.h | |
parent | 291a1676ac5b8d9f5e8a9507ff70e93b26eb0854 (diff) |
Casting to unsigned int in isfoo() causes problems on alpha and
sparc64. Change cast back to unsigned char but do a bitwise AND
with 0xff to avoid any sign extension weirdness and to make it
impossible for us to overflow _C_ctype_. The bitwise AND is probably
not needed and may be removed later if this does not trigger compiler bugs.
Diffstat (limited to 'lib/libsectok/ifdhandler.h')
0 files changed, 0 insertions, 0 deletions