Codechange: rename byte to uint8_t (#12308)

This commit is contained in:
Patric Stout
2024-03-16 23:59:32 +01:00
committed by GitHub
parent bd7120bae4
commit a3cfd23cf9
355 changed files with 1654 additions and 1656 deletions

View File

@@ -241,15 +241,15 @@ std::vector<int> VideoDriver_SDL_Base::GetListOfMonitorRefreshRates()
struct SDLVkMapping {
SDL_Keycode vk_from;
byte vk_count;
byte map_to;
uint8_t vk_count;
uint8_t map_to;
bool unprintable;
};
#define AS(x, z) {x, 0, z, false}
#define AM(x, y, z, w) {x, (byte)(y - x), z, false}
#define AM(x, y, z, w) {x, (uint8_t)(y - x), z, false}
#define AS_UP(x, z) {x, 0, z, true}
#define AM_UP(x, y, z, w) {x, (byte)(y - x), z, true}
#define AM_UP(x, y, z, w) {x, (uint8_t)(y - x), z, true}
static const SDLVkMapping _vk_mapping[] = {
/* Pageup stuff + up/down */