Ignore:
Timestamp:
Jun 30, 2010, 4:40:19 PM (12 years ago)
Author:
charles
Message:

(trunk libT) down the rabbit hole: various minor type correctness changes unearthed by -Wconversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.h

    r10909 r10912  
    119119#define TR_MAX_MSG_LOG 10000
    120120
    121 extern int messageLevel;
    122 
    123 static inline tr_bool tr_msgLoggingIsActive( int level )
     121extern tr_msg_level messageLevel;
     122
     123static inline tr_bool tr_msgLoggingIsActive( tr_msg_level level )
    124124{
    125125    return messageLevel >= level;
     
    127127
    128128void tr_msg( const char * file, int line,
    129              int level,
     129             tr_msg_level level,
    130130             const char * torrent,
    131131             const char * fmt, ... ) TR_GNUC_PRINTF( 5, 6 );
Note: See TracChangeset for help on using the changeset viewer.