Skip to content

Commit 52b8855

Browse files
committed
Fixing warning and removing c++fs flag from DasherCore
1 parent d90d9c4 commit 52b8855

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DasherCore

src/DasherUIScreen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void DasherUIScreen::Polyline(point* Points, int Number, int iWidth, const Dashe
6060

6161
std::vector<ImVec2> points;
6262

63-
for(unsigned int i = 0; i < Number; i++)
63+
for(int i = 0; i < Number; i++)
6464
{
6565
points.push_back(CanvasPos + ImVec2(static_cast<float>(Points[i].x), static_cast<float>(Points[i].y)));
6666
}
@@ -74,7 +74,7 @@ void DasherUIScreen::Polygon(point* Points, int Number, const Dasher::ColorPalet
7474

7575
std::vector<ImVec2> points;
7676

77-
for (unsigned int i = 0; i < Number; i++)
77+
for (int i = 0; i < Number; i++)
7878
{
7979
points.push_back(CanvasPos + ImVec2(static_cast<float>(Points[i].x), static_cast<float>(Points[i].y)));
8080
}

0 commit comments

Comments
 (0)