mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-16 17:53:08 +09:00
feature #2699: Fix index type in string loop
This commit is contained in:
1 parent
ef0b954619
commit
e6fc3ec37a
1 file changed
+1
-1
@@ -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')
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user