Changeset 11054 for trunk/qt/details.cc


Ignore:
Timestamp:
Jul 25, 2010, 8:36:33 PM (12 years ago)
Author:
charles
Message:

(trunk qt) silence a few compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/details.cc

    r11047 r11054  
    382382    else {
    383383        bool isMixed = false;
    384         int ratioType = torrents.first()->ratio();
     384        int ratioType = (int) torrents.first()->ratio();
    385385        if( ratioType > 0 ) ratioType = 0;
    386386        foreach( const Torrent *t, torrents )
     
    637637
    638638        mySingleDownSpin->blockSignals( true );
    639         mySingleDownSpin->setValue( tor->downloadLimit().KBps() );
     639        mySingleDownSpin->setValue( (int)tor->downloadLimit().KBps() );
    640640        mySingleDownSpin->blockSignals( false );
    641641
    642642        mySingleUpSpin->blockSignals( true );
    643         mySingleUpSpin->setValue( tor->uploadLimit().KBps() );
     643        mySingleUpSpin->setValue( (int)tor->uploadLimit().KBps() );
    644644        mySingleUpSpin->blockSignals( false );
    645645
Note: See TracChangeset for help on using the changeset viewer.