Changeset 62140db in mainline for uspace/lib/libblock/libblock.c
- Timestamp:
- 2009-06-16T21:53:42Z (14 years ago)
- Branches:
- lfn, master, serial
- Children:
- 61d2315
- Parents:
- 0471786
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libblock/libblock.c
r0471786 r62140db 475 475 } 476 476 477 if (*bufpos == *buflen) {477 if (*bufpos == (off_t) *buflen) { 478 478 /* Refill the communication buffer with a new block. */ 479 479 ipcarg_t retval; … … 481 481 *pos / block_size, block_size, &retval); 482 482 if ((rc != EOK) || (retval != EOK)) 483 return (rc != EOK ? rc : retval);483 return (rc != EOK ? rc : (int) retval); 484 484 485 485 *bufpos = 0;
Note: See TracChangeset
for help on using the changeset viewer.