Changeset 85243 in vbox
- Timestamp:
- Jul 11, 2020 11:06:35 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/BandwidthControlImpl.cpp
r82968 r85243 501 501 { 502 502 const settings::BandwidthGroup &gr = *it; 503 rc = createBandwidthGroup(gr.strName, gr.enmType, gr.cMaxBytesPerSec);503 rc = createBandwidthGroup(gr.strName, gr.enmType, (LONG64)gr.cMaxBytesPerSec); 504 504 if (FAILED(rc)) break; 505 505 } … … 525 525 group.strName = (*it)->i_getName(); 526 526 group.enmType = (*it)->i_getType(); 527 group.cMaxBytesPerSec = ( *it)->i_getMaxBytesPerSec();527 group.cMaxBytesPerSec = (uint64_t)(*it)->i_getMaxBytesPerSec(); 528 528 529 529 data.llBandwidthGroups.push_back(group);
Note:
See TracChangeset
for help on using the changeset viewer.