Fix signed-unsigned comparison warning
This commit is contained in:
parent
5b6dd9e62c
commit
65b4fbc484
@ -17,7 +17,7 @@ static inline void rotateLog(const std::filesystem::path& logFileName, int numRo
|
|||||||
const auto generateRotateNames = [&]() {
|
const auto generateRotateNames = [&]() {
|
||||||
std::vector<QString> rotateFileNames = {QString().fromStdString(logFileName.string())};
|
std::vector<QString> rotateFileNames = {QString().fromStdString(logFileName.string())};
|
||||||
|
|
||||||
for(size_t i = 1; i < numRotatingLogs; ++i) {
|
for(int i = 1; i < numRotatingLogs; ++i) {
|
||||||
auto rotateName = logFileName.stem();
|
auto rotateName = logFileName.stem();
|
||||||
rotateName += std::string(".") + std::to_string(i);
|
rotateName += std::string(".") + std::to_string(i);
|
||||||
rotateName += logFileName.extension();
|
rotateName += logFileName.extension();
|
||||||
|
Loading…
Reference in New Issue
Block a user