Ignore:
Timestamp:
09/22/06 23:03:20 (18 years ago)
Author:
zorg
Message:

Remove minor warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpcdec/trunk/src/mpc_reader.c

    r6 r40  
    4444    mpc_reader_file *d = (mpc_reader_file *) data;
    4545
    46     return fread(ptr, 1, size, d->file);
     46    return (mpc_int32_t) fread(ptr, 1, size, d->file);
    4747}
    4848
     
    5252    mpc_reader_file *d = (mpc_reader_file *) data;
    5353
    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;
    5555}
    5656
Note: See TracChangeset for help on using the changeset viewer.