Fix MSVC compiler warning
reg. conversion from 'size_t' to 'int', possible loss of data (C4267)
This commit is contained in:
parent
0353198dc6
commit
2be89ceacc
1 changed files with 1 additions and 1 deletions
|
@ -100,5 +100,5 @@ String DataFormatter::formatFileSize(size_t size)
|
|||
}
|
||||
|
||||
//: Used to indicate file size. Ideally, keep the translation short; feel free to use an abbreviation.
|
||||
return mtrc("global", "%n bytes", "", size);
|
||||
return mtrc("global", "%n byte(s)", nullptr, int(size));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue