GCC warnings (#1725)

This commit is contained in:
Alexander Bock
2021-08-21 11:42:44 +02:00
committed by GitHub
parent 2f32ddaf28
commit db472030de
42 changed files with 67 additions and 97 deletions

View File

@@ -170,7 +170,7 @@ int renderCameraPath(lua_State* L) {
addDirectionLine(pointIdentifier(0), poses.front());
}
for (int i = 1; i < poses.size(); i++) {
for (int i = 1; i < static_cast<int>(poses.size()); i++) {
addPoint(pointIdentifier(i), poses[i].position);
addLineBetweenPoints(pointIdentifier(i), pointIdentifier(i - 1), PathColor, 4.f);