mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-01-05 08:35:00 +00:00
Fix MSVC warnings
This commit is contained in:
@@ -41,7 +41,7 @@ QString FileNameHandler::parseFilename(const QString &name) {
|
||||
char data[MAX_CHARACTERS] = {0};
|
||||
std::strftime(data, sizeof(data),
|
||||
tempData, std::localtime(&t));
|
||||
res = QString::fromLocal8Bit(data, strlen(data));
|
||||
res = QString::fromLocal8Bit(data, (int)strlen(data));
|
||||
free(tempData);
|
||||
}
|
||||
// add the parsed pattern in a correct format for the filesystem
|
||||
|
||||
Reference in New Issue
Block a user