Ignore:
Timestamp:
Jan 18, 2009, 3:15:41 PM (13 years ago)
Author:
charles
Message:

(trunk libT) have tr_strndup() take an ssize_t instead of an int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.h

    r7663 r7743  
    303303
    304304/** @param in is a void* so that callers can pass in both signed & unsigned without a cast */
    305 char* tr_strndup( const void * in, int len ) TR_GNUC_MALLOC;
     305char* tr_strndup( const void * in, ssize_t len ) TR_GNUC_MALLOC;
    306306
    307307/** @param in is a void* so that callers can pass in both signed & unsigned without a cast */
Note: See TracChangeset for help on using the changeset viewer.