Changeset 26004 in vbox for trunk/src/VBox/Main/DisplayImpl.cpp
- Timestamp:
- Jan 25, 2010 2:36:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DisplayImpl.cpp
r26002 r26004 217 217 { 218 218 uint32_t cbNew = pCtx->cbPNG + (uint32_t)cb; 219 AssertReturnVoidStmt(cbNew > pCtx->cbPNG && cbNew <= _1G, pCtx->rc = VERR_TOO_MUCH_DATA); 219 220 cbNew = RT_ALIGN_32(cbNew, 4096) + 4096; 220 221 … … 231 232 232 233 memcpy(pCtx->pu8PNG + pCtx->cbPNG, p, cb); 233 pCtx->cbPNG += cb;234 pCtx->cbPNG += (uint32_t)cb; 234 235 } 235 236 }
Note:
See TracChangeset
for help on using the changeset viewer.