This commit is contained in:
Klaus Basan
2019-06-08 20:57:47 +02:00
committed by Mat Sutcliffe
parent 8082b4c7df
commit d59e1c3332
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
#include <stdio.h>
#include <errno.h>
#elif defined(Q_OS_WIN32)
#include <windows.h>
#include <Windows.h>
#include <io.h>
#endif

View File

@@ -308,7 +308,7 @@ namespace BlackMisc
{
for (auto i = m_cslPackages.cbegin(); i != m_cslPackages.cend(); ++i)
{
if (strncmp(qPrintable(i->name), qPrintable(ioPath), i->name.size()) == 0)
if (strncmp(qPrintable(i->name), qPrintable(ioPath), static_cast<size_t>(i->name.size())) == 0)
{
ioPath.remove(0, i->name.size());
ioPath.insert(0, i->path);