Make variable const as it should be
Change-Id: If5782473eceaa38de75b25d1da247dea9fe135da Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
0ea6ed9fc4
commit
cf0843c5f5
@ -2453,7 +2453,7 @@ static qint64 localMSecsToEpochMSecs(qint64 localMsecs,
|
|||||||
QTime tm;
|
QTime tm;
|
||||||
msecsToTime(localMsecs, &dt, &tm);
|
msecsToTime(localMsecs, &dt, &tm);
|
||||||
|
|
||||||
qint64 msecsMax = qint64(TIME_T_MAX) * 1000;
|
const qint64 msecsMax = qint64(TIME_T_MAX) * 1000;
|
||||||
|
|
||||||
if (localMsecs <= qint64(MSECS_PER_DAY)) {
|
if (localMsecs <= qint64(MSECS_PER_DAY)) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user