Changeset 17816 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 13, 2009 12:42:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r17739 r17816 1413 1413 1414 1414 CHECK_ERROR_RET(machine, COMGETTER(SharedFolders)(ComSafeArrayAsOutParam(folders)), rc); 1415 ULONG index = 0;1416 1415 1417 1416 for (size_t i = 0; i < folders.size(); ++i) … … 1428 1427 if (details == VMINFO_MACHINEREADABLE) 1429 1428 { 1430 RTPrintf("SharedFolderNameMachineMapping% d=\"%lS\"\n", index+ 1,1429 RTPrintf("SharedFolderNameMachineMapping%zu=\"%lS\"\n", i + 1, 1431 1430 name.raw()); 1432 RTPrintf("SharedFolderPathMachineMapping% d=\"%lS\"\n", index+ 1,1431 RTPrintf("SharedFolderPathMachineMapping%zu=\"%lS\"\n", i + 1, 1433 1432 hostPath.raw()); 1434 1433 } … … 1445 1444 1446 1445 CHECK_ERROR_RET(console, COMGETTER(SharedFolders)(ComSafeArrayAsOutParam(folders)), rc); 1447 ULONG index = 0;1448 1446 1449 1447 for (size_t i = 0; i < folders.size(); ++i) … … 1458 1456 if (details == VMINFO_MACHINEREADABLE) 1459 1457 { 1460 RTPrintf("SharedFolderNameTransientMapping% d=\"%lS\"\n", index+ 1,1458 RTPrintf("SharedFolderNameTransientMapping%zu=\"%lS\"\n", i + 1, 1461 1459 name.raw()); 1462 RTPrintf("SharedFolderPathTransientMapping% d=\"%lS\"\n", index+ 1,1460 RTPrintf("SharedFolderPathTransientMapping%zu=\"%lS\"\n", i + 1, 1463 1461 hostPath.raw()); 1464 1462 }
Note:
See TracChangeset
for help on using the changeset viewer.