- Timestamp:
- May 24, 2019 11:57:42 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestCtrlPrivate.cpp
r78234 r78738 902 902 903 903 uint32_t uCount = ASMAtomicIncU32(&mNextContextID); 904 if (uCount >= VBOX_GUESTCTRL_MAX_CONTEXTS) 905 uCount = 0; 904 uCount %= VBOX_GUESTCTRL_MAX_CONTEXTS; 906 905 907 906 uint32_t uNewContextID = VBOX_GUESTCTRL_CONTEXTID_MAKE(uSessionID, uObjectID, uCount);
Note:
See TracChangeset
for help on using the changeset viewer.