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:
parent
27c637221c
commit
711b258ac8
@ -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')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user