RemoteVstPlugin: use size_t for loop index to fix compiler warning

This commit is contained in:
Tobias Doerffel
2012-12-02 19:01:37 +01:00
parent c4e29da412
commit 2cac30f495

View File

@@ -1031,7 +1031,7 @@ void RemoteVstPlugin::savePreset( const std::string & _file )
if (isPreset)
{
for (int i = 0; i < _file.length() - 4 - presNameLen; i++)
for (size_t i = 0; i < _file.length() - 4 - presNameLen; i++)
progName[i] = i < 23 ? _file[presNameLen + i] : 0;
pluginDispatch( 4, 0, 0, progName );
}