Changeset 63129 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd
- Timestamp:
- Aug 7, 2016 1:13:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.c
r62827 r63129 400 400 fatal("failed to allocate memory for %s", fname); 401 401 402 if ( read(fd, buf, sz) != sz)402 if ((size_t/*vbox*/)read(fd, buf, sz) != sz) 403 403 fatal("failed to read %s", fname); 404 404 … … 430 430 */ 431 431 if (i != mark) { 432 if ( write(fd, &buf[mark], i - mark) != i - mark)432 if ((size_t/*vbox*/)write(fd, &buf[mark], i - mark) != i - mark) 433 433 fatal("failed to write to %s", fname); 434 434 } … … 450 450 451 451 if (mark < sz) { 452 if ( write(fd, &buf[mark], sz - mark) != sz - mark)452 if ((size_t/*vbox*/)write(fd, &buf[mark], sz - mark) != sz - mark) 453 453 fatal("failed to write to %s", fname); 454 454 } … … 476 476 fatal("failed to allocate memory for %s", fname); 477 477 478 if ( read(fd, buf, sz) != sz)478 if ((size_t/*vbox*/)read(fd, buf, sz) != sz) 479 479 fatal("failed to read %s", fname); 480 480
Note:
See TracChangeset
for help on using the changeset viewer.