fix: Allow size_t narrowing
This commit is contained in:
parent
0a24dc4912
commit
40493497de
@ -124,7 +124,7 @@ namespace modules {
|
|||||||
int i{0};
|
int i{0};
|
||||||
bool prevtag{true};
|
bool prevtag{true};
|
||||||
|
|
||||||
auto mingap = std::max(1UL, format->spacing);
|
auto mingap = std::max(1_z, format->spacing);
|
||||||
|
|
||||||
size_t start, end;
|
size_t start, end;
|
||||||
string value{format->value};
|
string value{format->value};
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#cmakedefine VERBOSE_TRACELOG
|
#cmakedefine VERBOSE_TRACELOG
|
||||||
#cmakedefine DEBUG_HINTS
|
#cmakedefine DEBUG_HINTS
|
||||||
|
|
||||||
static const size_t EVENT_SIZE{64UL};
|
static const size_t EVENT_SIZE = 64;
|
||||||
|
|
||||||
static const int SIGN_PRIORITY_CONTROLLER{1};
|
static const int SIGN_PRIORITY_CONTROLLER{1};
|
||||||
static const int SIGN_PRIORITY_SCREEN{2};
|
static const int SIGN_PRIORITY_SCREEN{2};
|
||||||
|
@ -124,7 +124,7 @@ namespace modules {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t current_group{m_keyboard->current() + 1UL};
|
size_t current_group = m_keyboard->current() + 1;
|
||||||
|
|
||||||
if (current_group >= m_keyboard->size()) {
|
if (current_group >= m_keyboard->size()) {
|
||||||
current_group = 0;
|
current_group = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user