Changeset 40 for libmpcdec/trunk/src/mpc_reader.c
- Timestamp:
- 09/22/06 23:03:20 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpcdec/trunk/src/mpc_reader.c
r6 r40 44 44 mpc_reader_file *d = (mpc_reader_file *) data; 45 45 46 return fread(ptr, 1, size, d->file);46 return (mpc_int32_t) fread(ptr, 1, size, d->file); 47 47 } 48 48 … … 52 52 mpc_reader_file *d = (mpc_reader_file *) data; 53 53 54 return d->is_seekable ? !fseek(d->file, offset, SEEK_SET): FALSE;54 return d->is_seekable ? fseek(d->file, offset, SEEK_SET) == 0 : FALSE; 55 55 } 56 56
Note: See TracChangeset
for help on using the changeset viewer.