Changeset 25000 in vbox for trunk/src/VBox/Runtime/r3/xml.cpp
- Timestamp:
- Nov 26, 2009 2:22:44 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 55308
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/xml.cpp
r23973 r25000 340 340 void MemoryBuf::setPos (uint64_t aPos) 341 341 { 342 size_t pos= (size_t) aPos;343 if ((uint64_t) pos!= aPos)342 size_t off = (size_t) aPos; 343 if ((uint64_t) off != aPos) 344 344 throw EInvalidArg(); 345 345 346 if ( pos> m->len)346 if (off > m->len) 347 347 throw EInvalidArg(); 348 348 349 m->pos = pos;349 m->pos = off; 350 350 } 351 351
Note:
See TracChangeset
for help on using the changeset viewer.