Merge pull request #611 from EdgeTX/CompWarnings

Removes two compiler warnings (thx @pfeerick for testing!)
This commit is contained in:
Risto
2021-08-22 09:01:46 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class Layout1x4: public Layout
{
index = 3;
}
return {zone.x, zone.y + zone.h / 4 * index, zone.w, zone.h / 4};
return {zone.x, zone.y + zone.h / 4 * (int)index, zone.w, zone.h / 4};
return zone;
}