Ignore:
Timestamp:
Jul 1, 2010, 5:39:54 AM (11 years ago)
Author:
charles
Message:

(trunk libT) a couple more minor -Wconversion warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r10814 r10919  
    7070}
    7171
    72 static int
    73 tr_areThreadsEqual( tr_thread_id a,
    74                     tr_thread_id b )
     72static tr_bool
     73tr_areThreadsEqual( tr_thread_id a, tr_thread_id b )
    7574{
    7675#ifdef WIN32
    7776    return a == b;
    7877#else
    79     return pthread_equal( a, b );
     78    return pthread_equal( a, b ) != 0;
    8079#endif
    8180}
     
    9291};
    9392
    94 int
     93tr_bool
    9594tr_amInThread( const tr_thread * t )
    9695{
Note: See TracChangeset for help on using the changeset viewer.