forked from qt-creator/qt-creator
Utils: Fix MSVC size_t -> int warning
Change-Id: I2732f7b9ad3c7ae96d2d213822f05f37dfcac0aa Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
3a87b45831
commit
f94b41313b
@@ -1030,7 +1030,7 @@ expected_str<FilePath> UnixDeviceFileAccess::createTempFile(const FilePath &file
|
||||
'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R',
|
||||
'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'};
|
||||
|
||||
std::uniform_int_distribution<> dist(0, chars.size() - 1);
|
||||
std::uniform_int_distribution<> dist(0, int(chars.size() - 1));
|
||||
|
||||
int maxTries = 10;
|
||||
FilePath newPath;
|
||||
|
||||
Reference in New Issue
Block a user