Changeset 73097 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_stream.c
- Timestamp:
- Jul 12, 2018 9:06:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_stream.c
r71468 r73097 433 433 } 434 434 435 pMsg = (CR_SERVER_PENDING_MSG*)RTMemAlloc(cbMsg + RT_ OFFSETOF(CR_SERVER_PENDING_MSG, Msg));435 pMsg = (CR_SERVER_PENDING_MSG*)RTMemAlloc(cbMsg + RT_UOFFSETOF(CR_SERVER_PENDING_MSG, Msg)); 436 436 if (!pMsg) 437 437 { … … 524 524 break; 525 525 526 pMsg = (CR_SERVER_PENDING_MSG*)RTMemAlloc(u32 + RT_ OFFSETOF(CR_SERVER_PENDING_MSG, Msg));526 pMsg = (CR_SERVER_PENDING_MSG*)RTMemAlloc(u32 + RT_UOFFSETOF(CR_SERVER_PENDING_MSG, Msg)); 527 527 if (!pMsg) 528 528 {
Note:
See TracChangeset
for help on using the changeset viewer.