mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
8082b4c7df
commit
d59e1c3332
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user