| commit | a32922a7b97430d7681d96b82683d9d81755b088 | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Wed Jul 09 09:12:20 2025 +0930 |
| committer | Alan Modra <amodra@gmail.com> | Wed Jul 09 09:35:07 2025 +0930 |
| tree | 2d9c0897edb812e8890c260b7d251ebf8bb32eed | |
| parent | 4df44a4aead61b5d46c35c5ddf2b96ac07948794 [diff] |
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.