diff options
author | Alan Modra <amodra@gmail.com> | 2025-07-09 09:12:20 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-07-09 09:35:07 +0930 |
commit | a32922a7b97430d7681d96b82683d9d81755b088 (patch) | |
tree | 2d9c0897edb812e8890c260b7d251ebf8bb32eed /gdb/python/py-cmd.c | |
parent | 4df44a4aead61b5d46c35c5ddf2b96ac07948794 (diff) | |
download | binutils-a32922a7b97430d7681d96b82683d9d81755b088.zip binutils-a32922a7b97430d7681d96b82683d9d81755b088.tar.gz binutils-a32922a7b97430d7681d96b82683d9d81755b088.tar.bz2 |
gas char/unsigned char casts
This patch removes many unneeded casts to char or unsigned char. It's
worth noting that safe-ctype.h macros ISDIGIT and the like cope with
either signed or unsigned char.
In some cases a cast to unsigned char is replaced by anding with 0xff,
which accomplishes the same thing but doesn't rely on char being eight
bits. The patch also removes pointer casts, and a few unsigned char
pointer variables.
Diffstat (limited to 'gdb/python/py-cmd.c')
0 files changed, 0 insertions, 0 deletions