Experimental: Fix all signed/unsigned warnings

This commit is contained in:
Alex Hultman
2020-11-30 23:00:36 +01:00
parent 2530872a1b
commit ad0a961430
15 changed files with 58 additions and 54 deletions
+2 -2
View File
@@ -158,7 +158,7 @@ private:
/* If we are on STOP, return where we may stand */
if (isStop) {
/* We have reached accross the entire URL with no stoppage, execute */
for (int handler : parent->handlers) {
for (uint32_t handler : parent->handlers) {
if (handlers[handler & HANDLER_MASK](this)) {
return true;
}
@@ -170,7 +170,7 @@ private:
for (auto &p : parent->children) {
if (p->name.length() && p->name[0] == '*') {
/* Wildcard match (can be seen as a shortcut) */
for (int handler : p->handlers) {
for (uint32_t handler : p->handlers) {
if (handlers[handler & HANDLER_MASK](this)) {
return true;
}