Ignore:
Timestamp:
Dec 29, 2008, 9:17:48 PM (12 years ago)
Author:
charles
Message:

(trunk libT) use torrent's unique ID as the torrent's lookup key

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r7529 r7533  
    12851285    return dir==TR_UP || dir==TR_DOWN;
    12861286}
     1287
     1288int
     1289tr_ptr2int( void* v )
     1290{
     1291    return (intptr_t)v;
     1292}
     1293
     1294void*
     1295tr_int2ptr( int i )
     1296{
     1297    return (void*)(intptr_t)i;
     1298}
Note: See TracChangeset for help on using the changeset viewer.