Fix problems resulting in compiler warning messages

This commit is contained in:
Seeker4 2019-08-06 12:33:48 -07:00
parent 5e16e18b4c
commit 5cf6e14816
2 changed files with 2 additions and 2 deletions

View File

@ -5719,7 +5719,7 @@ PRS1DataChunk* PRS1DataChunk::ParseNext(QFile & f)
int sessionid_base = (chunk->fileVersion == 2 ? 10 : 16);
if (chunk->family == 3 && chunk->familyVersion >= 3) sessionid_base = 16;
QString session_s = fi.fileName().section(".", 0, -2);
quint32 sid = session_s.toInt(&numeric, sessionid_base);
qint32 sid = session_s.toInt(&numeric, sessionid_base);
if (!numeric || sid != chunk->sessionid) {
qDebug() << chunk->m_path << chunk->sessionid;
}

View File

@ -19,7 +19,7 @@
#include "mainwindow.h"
#include "statistics.h"
#include "cprogressBar.h"
#include "cprogressbar.h"
#include "SleepLib/common.h"
extern MainWindow *mainwin;