1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #2699: Fix index type in string loop

(cherry picked from commit e6fc3ec37a67ce0af6bc11e23db705c911b4b9d1)
This commit is contained in:
Carlos Martín 2014-01-30 19:29:38 +01:00 committed by Javi Fontan
parent 27c637221c
commit 711b258ac8

View File

@ -2692,7 +2692,7 @@ int VirtualMachine::generate_context(string &files, int &disk_id, string& token_
files += files_ds;
}
for (int i=0;i<files.length();i++)
for (size_t i=0;i<files.length();i++)
{
if (files[i] == '\n')
{