Ignore:
Timestamp:
Mar 8, 2007, 4:53:50 AM (15 years ago)
Author:
joshe
Message:

Fix for if unused isn't defined.
Pointless churn to silence char*/unint8_t* warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pex/libtransmission/bencode.h

    r1540 r1545  
    7272}
    7373
    74 void   tr_bencInitStr( benc_val_t * val, char * str, int len, int nofree );
     74#define tr_bencInitStr( a, b, c, d ) \
     75    _tr_bencInitStr( (a), ( char * )(b), (c), (d) )
     76void   _tr_bencInitStr( benc_val_t * val, char * str, int len, int nofree );
    7577int    tr_bencInitStrDup( benc_val_t * val, const char * str );
    7678void   tr_bencInitInt( benc_val_t * val, int64_t num );
Note: See TracChangeset for help on using the changeset viewer.