x11
x11 copied to clipboard
chore: Replace deprecated cuchar usage with char
Many of these should be uint8 though.
Many of these should be
uint8though.
I'll try to understand the underlying code better and update my PR.
Many of these should be
uint8though.
Aren't all of these defined as unsigned char in the spec? And anyway is there a practical difference between uint8 vs char here? I can see the argument for (for example) length field in XValuatorState should have been defined as uint8, but the struct really is defined as
typedef struct {
unsigned char class;
unsigned char length;
unsigned char num_valuators;
unsigned char mode;
int *valuators;
} XValuatorState;
Plus as is, cuchar is just char, so this PR isn't introducing any new bugs as far as I can tell
It doesn't introduce new bugs but it doesn't clean up the types either.