Ignore:
Timestamp:
Jul 6, 2010, 3:40:34 AM (12 years ago)
Author:
livings124
Message:

replace some floats with doubles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r10948 r10949  
    884884       
    885885        if (peer->isUploadingTo)
    886             [dict setObject: [NSNumber numberWithFloat: peer->rateToPeer_KBps] forKey: @"UL To Rate"];
     886            [dict setObject: [NSNumber numberWithDouble: peer->rateToPeer_KBps] forKey: @"UL To Rate"];
    887887        if (peer->isDownloadingFrom)
    888             [dict setObject: [NSNumber numberWithFloat: peer->rateToClient_KBps] forKey: @"DL From Rate"];
     888            [dict setObject: [NSNumber numberWithDouble: peer->rateToClient_KBps] forKey: @"DL From Rate"];
    889889       
    890890        [peerDicts addObject: dict];
Note: See TracChangeset for help on using the changeset viewer.