Changeset 7743
- Timestamp:
- Jan 18, 2009, 3:15:41 PM (12 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/utils.c
r7656 r7743 638 638 639 639 char* 640 tr_strndup( const void * in, 641 int len ) 640 tr_strndup( const void * in, ssize_t len ) 642 641 { 643 642 char * out = NULL; -
trunk/libtransmission/utils.h
r7663 r7743 303 303 304 304 /** @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;305 char* tr_strndup( const void * in, ssize_t len ) TR_GNUC_MALLOC; 306 306 307 307 /** @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.