Ignore:
Timestamp:
Nov 14, 2010, 3:16:39 PM (11 years ago)
Author:
livings124
Message:

a couple of float -> double changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoPeersViewController.m

    r10832 r11409  
    274274        {
    275275            NSNumber * rate;
    276             return (rate = [webSeed objectForKey: @"DL From Rate"]) ? [NSString stringForSpeedAbbrev: [rate floatValue]] : @"";
     276            return (rate = [webSeed objectForKey: @"DL From Rate"]) ? [NSString stringForSpeedAbbrev: [rate doubleValue]] : @"";
    277277        }
    278278        else
     
    293293        {
    294294            NSNumber * rate;
    295             return (rate = [peer objectForKey: @"UL To Rate"]) ? [NSString stringForSpeedAbbrev: [rate floatValue]] : @"";
     295            return (rate = [peer objectForKey: @"UL To Rate"]) ? [NSString stringForSpeedAbbrev: [rate doubleValue]] : @"";
    296296        }
    297297        else if ([ident isEqualToString: @"DL From"])
    298298        {
    299299            NSNumber * rate;
    300             return (rate = [peer objectForKey: @"DL From Rate"]) ? [NSString stringForSpeedAbbrev: [rate floatValue]] : @"";
     300            return (rate = [peer objectForKey: @"DL From Rate"]) ? [NSString stringForSpeedAbbrev: [rate doubleValue]] : @"";
    301301        }
    302302        else
Note: See TracChangeset for help on using the changeset viewer.