Ignore:
Timestamp:
Mar 3, 2011, 7:56:44 PM (11 years ago)
Author:
jordan
Message:

remove a handful of unnecessary casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-io.c

    r12059 r12075  
    377377{
    378378    int rc;
    379     tr_peerIo *io = (tr_peerIo *)closure;
     379    tr_peerIo *io = closure;
    380380    assert( tr_isPeerIo( io ) );
    381381
     
    395395utp_on_write(void *closure, unsigned char *buf, size_t buflen)
    396396{
    397     tr_peerIo *io = (tr_peerIo *)closure;
    398397    int rc;
     398    tr_peerIo *io = closure;
    399399    assert( tr_isPeerIo( io ) );
    400400
     
    412412utp_get_rb_size(void *closure)
    413413{
    414     tr_peerIo *io = (tr_peerIo *)closure;
    415414    size_t bytes;
     415    tr_peerIo *io = closure;
    416416    assert( tr_isPeerIo( io ) );
    417417
     
    425425utp_on_state_change(void *closure, int state)
    426426{
    427     tr_peerIo *io = (tr_peerIo *)closure;
     427    tr_peerIo *io = closure;
    428428    assert( tr_isPeerIo( io ) );
    429429
     
    447447utp_on_error(void *closure, int errcode)
    448448{
    449     tr_peerIo *io = (tr_peerIo *)closure;
     449    tr_peerIo *io = closure;
    450450    assert( tr_isPeerIo( io ) );
    451451
     
    461461utp_on_overhead(void *closure, bool send, size_t count, int type UNUSED)
    462462{
    463     tr_peerIo *io = (tr_peerIo *)closure;
     463    tr_peerIo *io = closure;
    464464    assert( tr_isPeerIo( io ) );
    465465
Note: See TracChangeset for help on using the changeset viewer.