Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Dec 5, 2024
1 parent 09594b3 commit 7159ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/include/Utils/MicroControl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ inline void micro_multi_swipe(

size_t over_count = 0;
while (over_count < swipes.size()) {
size_t now_point = std::chrono::duration_cast<std::chrono::milliseconds>(now - starting).count();
int now_point = static_cast<int>(std::chrono::duration_cast<std::chrono::milliseconds>(now - starting).count());

for (size_t i = 0; i < swipes.size(); ++i) {
const ControlUnitAPI::SwipeParam& s = swipes.at(i);
Expand Down

0 comments on commit 7159ac3

Please sign in to comment.