Changeset 85249 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Jul 11, 2020 11:10:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/NATNetworkImpl.cpp
r82968 r85249 437 437 return E_INVALIDARG; 438 438 439 if (((net.u + aOffset) & mask.u) != net.u)439 if (((net.u + (uint32_t)aOffset) & mask.u) != net.u) 440 440 return E_INVALIDARG; 441 441 … … 458 458 return E_INVALIDARG; /* this offset is already registered. */ 459 459 460 (*it).u32Offset = aOffset;460 (*it).u32Offset = (uint32_t)aOffset; 461 461 } 462 462 … … 487 487 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 488 488 489 *aLoopbackIp6 = m->s.u32HostLoopback6Offset;489 *aLoopbackIp6 = (LONG)m->s.u32HostLoopback6Offset; 490 490 return S_OK; 491 491 } … … 503 503 return S_OK; 504 504 505 m->s.u32HostLoopback6Offset = aLoopbackIp6;505 m->s.u32HostLoopback6Offset = (LONG)aLoopbackIp6; 506 506 } 507 507
Note:
See TracChangeset
for help on using the changeset viewer.