Skip to content

Commit 9b8f002

Browse files
jokilinuxdude42
authored andcommitted
Fix compiling Qt6 on 32-bit architectures.
1 parent 1351ccd commit 9b8f002

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mythtv/programs/mythtv-setup/exitprompt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void ExitPrompter::handleExit()
7575
#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
7676
int limit = std::min(4, allproblems.size());
7777
#else
78-
int limit = std::min(4LL, allproblems.size());
78+
int limit = std::min(static_cast<qsizetype>(4), allproblems.size());
7979
#endif
8080
for (int i = 0; i < limit; ++i)
8181
{

mythtv/programs/mythutil/recordingutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static QString CreateProgramInfoString(const ProgramInfo &pginfo)
3939
#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
4040
int maxll = std::max(title.length(), 20);
4141
#else
42-
int maxll = std::max(title.length(), 20LL);
42+
int maxll = std::max(title.length(), static_cast<qsizetype>(20));
4343
#endif
4444
if (extra.length() > maxll)
4545
extra = extra.left(maxll - 3) + "...";

0 commit comments

Comments
 (0)