File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ void ExitPrompter::handleExit()
75
75
#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
76
76
int limit = std::min (4 , allproblems.size ());
77
77
#else
78
- int limit = std::min (4LL , allproblems.size ());
78
+ int limit = std::min (static_cast <qsizetype>( 4 ) , allproblems.size ());
79
79
#endif
80
80
for (int i = 0 ; i < limit; ++i)
81
81
{
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ static QString CreateProgramInfoString(const ProgramInfo &pginfo)
39
39
#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
40
40
int maxll = std::max (title.length (), 20 );
41
41
#else
42
- int maxll = std::max (title.length (), 20LL );
42
+ int maxll = std::max (title.length (), static_cast <qsizetype>( 20 ) );
43
43
#endif
44
44
if (extra.length () > maxll)
45
45
extra = extra.left (maxll - 3 ) + " ..." ;
You can’t perform that action at this time.
0 commit comments