fix.修复一些编译warning

This commit is contained in:
MistEO
2021-10-17 04:27:43 +08:00
parent 04c1d90a51
commit 73559816c3
3 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ bool AbstractTask::sleep(unsigned millisecond)
return true;
}
auto start = std::chrono::system_clock::now();
unsigned duration = 0;
long long duration = 0;
json::value callback_json;
callback_json["time"] = millisecond;