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:
Orgad Shaneh
2023-02-07 23:04:49 +02:00
committed by Orgad Shaneh
parent 3a87b45831
commit f94b41313b

View File

@@ -1030,7 +1030,7 @@ expected_str<FilePath> UnixDeviceFileAccess::createTempFile(const FilePath &file
'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R',
'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'}; '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; int maxTries = 10;
FilePath newPath; FilePath newPath;