Commit cfd138b1 authored by Matthias Möller's avatar Matthias Möller
Browse files

fix warning

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent cafed228
......@@ -719,10 +719,10 @@ void Core::loadPlugin(const QString& _filename,const bool _silent, QString& _lic
// Check if a plugin has been loaded
PluginInfo info;
int alreadyLoadedAt = -1;
for (int k=0; k < plugins_.size(); k++)
for (unsigned k=0; k < plugins_.size(); k++)
if (plugins_[k].path == _filename)
alreadyLoadedAt = k;
alreadyLoadedAt = static_cast<int>(k);
info.status = PluginInfo::FAILED;
info.path = _filename;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment